[packages/accelio] - adjusted fio patch for fio 3+ (with nanosecond precision); release 4

qboosh qboosh at pld-linux.org
Mon May 14 21:36:59 CEST 2018


commit 49e5d143211278688dd17809302e53fa400aa9cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 14 21:37:44 2018 +0200

    - adjusted fio patch for fio 3+ (with nanosecond precision); release 4

 accelio-fio.patch | 9 +++++++++
 accelio.spec      | 5 +++--
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/accelio.spec b/accelio.spec
index c7e3097..70f94ee 100644
--- a/accelio.spec
+++ b/accelio.spec
@@ -10,7 +10,7 @@ Summary:	Open Source I/O, Message and RPC Acceleration library
 Summary(pl.UTF-8):	Mająca otwarte źródła biblioteka przyspieszająca we/wy, komunikaty i RPC
 Name:		accelio
 Version:	1.7
-Release:	3
+Release:	4
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/accelio/accelio/releases
@@ -21,13 +21,14 @@ Patch1:		%{name}-sse.patch
 URL:		http://www.accelio.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.11
-%{?with_fio:BuildRequires:	fio-devel >= 2.19}
+%{?with_fio:BuildRequires:	fio-devel >= 3}
 BuildRequires:	libaio-devel
 BuildRequires:	libevent-devel >= 2
 BuildRequires:	libibverbs-devel
 BuildRequires:	libtool >= 2:2
 BuildRequires:	numactl-devel
 BuildRequires:	sed >= 4.0
+Conflicts:	fio < 3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
diff --git a/accelio-fio.patch b/accelio-fio.patch
index 1cae6f9..0a7b14d 100644
--- a/accelio-fio.patch
+++ b/accelio-fio.patch
@@ -29,6 +29,15 @@
  	struct libraio_engine_data *engine_data = io_u->engine_data;
  
  	fio_ro_check(td, io_u);
+@@ -170,7 +170,7 @@
+ static void fio_libraio_queued(struct thread_data *td, struct io_u **io_us,
+ 			       unsigned int nr)
+ {
+-	struct timeval now;
++	struct timespec now;
+ 	unsigned int i;
+ 
+ 	if (!fio_fill_issue_time(td))
 @@ -188,7 +188,7 @@
  
  static int fio_libraio_commit(struct thread_data *td)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/accelio.git/commitdiff/49e5d143211278688dd17809302e53fa400aa9cc



More information about the pld-cvs-commit mailing list