Enable Network Block Device (libnbd) engine.

Since fio 3.16, NBD servers can be tested directly via libnbd.
However this feature is disabled by default, so enable it.
This commit is contained in:
Richard W.M. Jones 2019-11-06 14:39:35 +00:00
parent 5bf0c77e10
commit 57166e76c0
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: fio Name: fio
Version: 3.16 Version: 3.16
Release: 1%{?dist} Release: 2%{?dist}
Summary: Multithreaded IO generation tool Summary: Multithreaded IO generation tool
License: GPLv2 License: GPLv2
@ -11,6 +11,7 @@ BuildRequires: gcc
BuildRequires: libaio-devel BuildRequires: libaio-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: python3-devel BuildRequires: python3-devel
Buildrequires: libnbd-devel
%ifarch x86_64 %ifarch x86_64
BuildRequires: libpmem-devel BuildRequires: libpmem-devel
BuildRequires: libpmemblk-devel BuildRequires: libpmemblk-devel
@ -44,7 +45,7 @@ pathfix.py -i %{__python3} -pn \
t/steadystate_tests.py t/steadystate_tests.py
%build %build
./configure --disable-optimizations ./configure --disable-optimizations --enable-libnbd
EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make V=1 %{?_smp_mflags} EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make V=1 %{?_smp_mflags}
%install %install
@ -59,6 +60,9 @@ make install prefix=%{_prefix} mandir=%{_mandir} DESTDIR=$RPM_BUILD_ROOT INSTALL
%{_datadir}/%{name}/* %{_datadir}/%{name}/*
%changelog %changelog
* Wed Nov 06 2019 Richard W.M. Jones <rjones@redhat.com> 3.16-2
- Enable Network Block Device (libnbd) engine.
* Sat Sep 21 2019 Eric Sandeen <sandeen@redhat.com> 3.16-1 * Sat Sep 21 2019 Eric Sandeen <sandeen@redhat.com> 3.16-1
- New upstream version - New upstream version