-
Notifications
You must be signed in to change notification settings - Fork 0
/
fio.spec
453 lines (324 loc) · 13.7 KB
/
fio.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
%global shortcommit %(c=%{commit};echo ${c:0:7})
Name: fio
Version: 3.36
Release: 1%{?commit:.g%{shortcommit}}%{?dist}
Summary: Multithreaded IO generation tool
Group: Applications/System
License: GPLv2
URL: http://git.kernel.dk/?p=fio.git;a=summary
Source: http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
BuildRequires: gcc
BuildRequires: daos-devel
BuildRequires: libaio-devel
BuildRequires: zlib-devel
BuildRequires: python3-devel
%ifarch x86_64
BuildRequires: libpmem-devel
BuildRequires: libpmemblk-devel
%endif
%if (0%{?rhel} >= 7)
BuildRequires: librbd1-devel
%else
%if (0%{?suse_version} >= 1315)
BuildRequires: librbd-devel
%endif
%endif
%ifnarch %{arm} s390 s390x
%if (0%{?rhel} >= 7)
BuildRequires: numactl-devel
%else
%if (0%{?suse_version} >= 1315)
BuildRequires: libnuma-devel
%endif
BuildRequires: librdmacm-devel
%endif
%endif
%if 0%{?rhel}
BuildRequires: platform-python-devel
%global python_pathfix /usr/bin/pathfix.py
%endif
%if 0%{?suse_version}
BuildRequires: python3-tools
%global python_pathfix /usr/share/doc/packages/python3-core/Tools/scripts/pathfix.py
%endif
%if 0%{?suse_version}
%global __debug_package 1
%global _debuginfo_subpackages 0
%debug_package
%endif
%description
fio is an I/O tool that will spawn a number of threads or processes doing
a particular type of io action as specified by the user. fio takes a
number of global parameters, each inherited by the thread unless
otherwise parameters given to them overriding that setting is given.
The typical use of fio is to write a job file matching the io load
one wants to simulate.
%prep
%setup -q
%{__python3} %{python_pathfix} -i %{__python3} -pn \
doc/conf.py \
tools/fio_jsonplus_clat2csv \
tools/fiologparser.py \
tools/hist/*.py \
tools/plot/fio2gnuplot \
t/*.py
%build
./configure --disable-optimizations
EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make V=1 %{?_smp_mflags}
%install
make install prefix=%{_prefix} mandir=%{_mandir} DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%files
%doc README.rst REPORTING-BUGS COPYING HOWTO.rst examples
%doc MORAL-LICENSE GFIO-TODO SERVER-TODO STEADYSTATE-TODO
%dir %{_datadir}/%{name}
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/%{name}/*
%changelog
* Tue Jan 30 2024 Cedric Koch-Hofer <[email protected]> 3.36-1
- Rebuilt to integrate DAOS dfs ioengine
- New upstream version
* Mon Oct 31 2022 Pavel Reichl <[email protected]> - 3.19-4
- crc32c_arm64(): fio killed by SIGILL
Fix rhbz#1954143
* Thu Aug 20 2020 Eric Sandeen <[email protected]> 3.19-3
- Fix regression in stonewall (#1869305)
* Tue Jul 14 2020 Eric Sandeen <[email protected]> 3.19-2
- Fix regression in pmemblk engine (#1846843)
* Mon Apr 20 2020 Eric Sandeen <[email protected]> 3.19-1
- Rebase to new upstream + bugfix
* Fri Jun 07 2019 Eric Sandeen <[email protected]> 3.7-5
- Rebuild w/ tests in place (#1681954)
* Wed Aug 01 2018 Charalampos Stratakis <[email protected]> - 3.7-3
- Fix python shebangs in a more portable way
* Mon Jun 25 2018 Eric Sandeen <[email protected]> 3.7-2
- Re-add python3 shebang patch (#1561477)
* Fri Jun 01 2018 Eric Sandeen <[email protected]> 3.7-1
- New upstream version
* Wed May 16 2018 Eric Sandeen <[email protected]> 3.6-2
- Make all python scripts python3 compliant and explicit (#1561477)
* Wed Apr 18 2018 Eric Sandeen <[email protected]> 3.6-1
- New upstream version
* Mon Feb 26 2018 Eric Sandeen <[email protected]> 3.4-2
- BuildRequires: gcc
* Fri Feb 16 2018 Eric Sandeen <[email protected]> 3.4-1
- New upstream version
* Wed Feb 07 2018 Fedora Release Engineering <[email protected]> - 3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Feb 1 2018 Florian Weimer <[email protected]> - 3.3-2
- Build with linker flags from redhat-rpm-config
* Wed Dec 27 2017 Eric Sandeen <[email protected]> 3.3-1
- New upstream version
* Mon Nov 06 2017 Eric Sandeen <[email protected]> 3.2-1
- New upstream version
* Wed Oct 25 2017 Dan Horák <dan[at]danny.cz> 3.1-3
- Add build deps for s390x
* Tue Oct 24 2017 Eric Sandeen <[email protected]> 3.1-2
- Add new build deps for more features
* Wed Oct 18 2017 Eric Sandeen <[email protected]> 3.1-1
- New upstream version
* Fri Aug 25 2017 Adam Williamson <[email protected]> - 3.0-3
- Re-enable ceph deps on ppc64 (it's building again)
- Disable RDMA support on 32-bit ARM (#1484155)
* Thu Aug 17 2017 Eric Sandeen <[email protected]> 3.0-2
- Include more files as doc (#1482372)
* Wed Aug 16 2017 Eric Sandeen <[email protected]> 3.0-1
- New upstream version
* Mon Jul 31 2017 Eric Sandeen <[email protected]> 2.99-3
- Exclude ceph-related deps on ppc64
* Wed Jul 26 2017 Fedora Release Engineering <[email protected]> - 2.99-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 10 2017 Eric Sandeen <[email protected]> 2.99-1
- New upstream version
* Fri Jun 16 2017 Eric Sandeen <[email protected]> 2.21-1
- New upstream version
* Wed Apr 05 2017 Eric Sandeen <[email protected]> 2.19-2
- Enable dev-dax engine on x86_64
* Wed Apr 05 2017 Eric Sandeen <[email protected]> 2.19-1
- New upstream version
* Thu Feb 23 2017 Eric Sandeen <[email protected]> 2.18-1
- New upstream version
* Thu Feb 23 2017 Eric Sandeen <[email protected]> 2.17-1
- New upstream version
* Fri Feb 10 2017 Fedora Release Engineering <[email protected]> - 2.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Dec 20 2016 Eric Sandeen <[email protected]> 2.16-1
- New upstream version
* Sat Nov 19 2016 Peter Robinson <[email protected]> 2.15-2
- Rebuild (Power64)
* Thu Oct 27 2016 Eric Sandeen <[email protected]> 2.15-1
- New upstream version
* Tue Oct 04 2016 Eric Sandeen <[email protected]> 2.14-1
- New upstream version
* Mon Aug 29 2016 Eric Sandeen <[email protected]> 2.13-1
- New upstream version
* Wed Jun 15 2016 Eric Sandeen <[email protected]> 2.12-1
- New upstream version
* Wed May 25 2016 Eric Sandeen <[email protected]> 2.11-1
- New upstream version
* Fri Apr 29 2016 Eric Sandeen <[email protected]> 2.9-1
- New upstream version
* Thu Mar 17 2016 Eric Sandeen <[email protected]> 2.8-1
- New upstream version
* Fri Mar 11 2016 Eric Sandeen <[email protected]> 2.7-1
- New upstream version
* Wed Feb 03 2016 Fedora Release Engineering <[email protected]> - 2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jan 27 2016 Eric Sandeen <[email protected]> 2.6-1
- New upstream version
* Thu Jan 14 2016 Eric Sandeen <[email protected]> 2.3-1
- New upstream version
* Mon Dec 21 2015 Eric Sandeen <[email protected]> 2.2.13-1
- New upstream version
- Add librdmacm-devel as build dependency (enable RDMA)
* Tue Nov 10 2015 Eric Sandeen <[email protected]> 2.2.11-1
- New upstream version
- Add zlib-devel as build dependency
* Tue Sep 22 2015 Eric Sandeen <[email protected]> 2.2.10-1
- New upstream version
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 2.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu May 07 2015 Eric Sandeen <[email protected]> 2.2.8-1
- New upstream version
* Wed Apr 15 2015 Eric Sandeen <[email protected]> 2.2.7-1
- New upstream version
- Add librbd ioengine support
* Fri Apr 10 2015 Eric Sandeen <[email protected]> 2.2.6-1
- New upstream version
* Tue Feb 17 2015 Eric Sandeen <[email protected]> 2.2.5-1
- New upstream version
* Mon Jan 05 2015 Eric Sandeen <[email protected]> 2.2.4-1
- New upstream version
* Fri Jan 02 2015 Eric Sandeen <[email protected]> 2.2.3-1
- New upstream version
* Wed Nov 12 2014 Eric Sandeen <[email protected]> 2.1.14-1
- New upstream version
* Wed Sep 17 2014 Eric Sandeen <[email protected]> 2.1.12-1
- New upstream version
* Sat Aug 16 2014 Fedora Release Engineering <[email protected]> - 2.1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 15 2014 Eric Sandeen <[email protected]> 2.1.11-1
- New upstream version
* Mon Jun 16 2014 Eric Sandeen <[email protected]> 2.1.10-1
- New upstream version
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 2.1.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue May 13 2014 Eric Sandeen <[email protected]> 2.1.9-1
- New upstream version
* Mon Apr 14 2014 Eric Sandeen <[email protected]> 2.1.8-1
- New upstream version
* Mon Apr 07 2014 Eric Sandeen <[email protected]> 2.1.7-1
- New upstream version
* Wed Feb 12 2014 Eric Sandeen <[email protected]> 2.1.5-1
- New upstream version
* Wed Sep 25 2013 Eric Sandeen <[email protected]> 2.1.3-1
- New upstream version
* Thu Aug 08 2013 Eric Sandeen <[email protected]> 2.1.2-1
- New upstream version
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 15 2013 Eric Sandeen <[email protected]> 2.1-1
- New upstream version
* Wed Apr 17 2013 Eric Sandeen <[email protected]> 2.0.15-1
- New upstream version
* Wed Feb 13 2013 Fedora Release Engineering <[email protected]> - 2.0.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jan 9 2013 Peter Robinson <[email protected]> 2.0.13-1
- New upstream 2.0.13 release
* Tue Jan 01 2013 Dan Horák <dan[at]danny.cz> - 2.0.12.2-2
- fix build on arches without ARCH_HAVE_CPU_CLOCK (arm, s390)
* Fri Dec 21 2012 Eric Sandeen <[email protected]> 2.0.12.2-1
- New upstream version
* Sat Nov 24 2012 Eric Sandeen <[email protected]> 2.0.11-1
- New upstream version
* Thu Nov 15 2012 Peter Robinson <[email protected]> 2.0.10-2
- Merge latest from F16 to master, bump release
* Fri Oct 12 2012 Eric Sandeen <[email protected]> 2.0.10-1
- New upstream version
* Thu Jul 19 2012 Fedora Release Engineering <[email protected]> - 2.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jul 13 2012 Eric Sandeen <[email protected]> 2.0.8-1
- New upstream version
* Fri Mar 23 2012 Eric Sandeen <[email protected]> 2.0.6-1
- New upstream version
* Tue Feb 28 2012 Eric Sandeen <[email protected]> 2.0.5-1
- New upstream version
* Mon Jan 23 2012 Eric Sandeen <[email protected]> 2.0.1-1
- New upstream version
* Fri Jan 13 2012 Fedora Release Engineering <[email protected]> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 08 2011 Eric Sandeen <[email protected]> 2.0-1
- New upstream version
* Fri Nov 11 2011 Eric Sandeen <[email protected]> 1.99.12-1
- New upstream version
* Tue Sep 27 2011 Eric Sandeen <[email protected]> 1.58-1
- New upstream version
* Thu Aug 11 2011 Eric Sandeen <[email protected]> 1.57-1
- New upstream version
* Tue May 31 2011 Eric Sandeen <[email protected]> 1.55-1
- New upstream version
* Mon May 09 2011 Eric Sandeen <[email protected]> 1.53-1
- New upstream version
* Fri Apr 29 2011 Eric Sandeen <[email protected]> 1.52-1
- New upstream version
* Tue Feb 08 2011 Fedora Release Engineering <[email protected]> - 1.50.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jan 28 2011 Eric Sandeen <[email protected]> 1.50.2-1
- New upstream version
* Wed Jan 26 2011 Eric Sandeen <[email protected]> 1.50-1
- New upstream version
* Wed Dec 15 2010 Eric Sandeen <[email protected]> 1.44.3-1
- New upstream version
* Fri Oct 22 2010 Eric Sandeen <[email protected]> 1.44.1-1
- New upstream version
* Fri Oct 22 2010 Eric Sandeen <[email protected]> 1.44-1
- New upstream version
* Thu Sep 23 2010 Eric Sandeen <[email protected]> 1.43.2-1
- New upstream version
* Tue Jun 29 2010 Eric Sandeen <[email protected]> 1.41.5-1
- New upstream version
* Tue Jun 22 2010 Eric Sandeen <[email protected]> 1.41.3-1
- New upstream version
* Tue Jun 22 2010 Eric Sandeen <[email protected]> 1.41-1
- New upstream version
* Fri Jun 18 2010 Eric Sandeen <[email protected]> 1.40-1
- New upstream version
* Thu Jun 03 2010 Eric Sandeen <[email protected]> 1.39-1
- New upstream version
* Tue Mar 23 2010 Eric Sandeen <[email protected]> 1.38-1
- New upstream version
* Tue Feb 23 2010 Eric Sandeen <[email protected]> 1.37-1
- New upstream version
* Tue Dec 15 2009 Eric Sandeen <[email protected]> 1.36-1
- New upstream version
* Thu Nov 05 2009 Eric Sandeen <[email protected]> 1.35-1
- New upstream version
* Mon Sep 14 2009 Eric Sandeen <[email protected]> 1.34-1
- New upstream version
* Thu Sep 10 2009 Eric Sandeen <[email protected]> 1.33.1-1
- New upstream version
* Tue Sep 08 2009 Eric Sandeen <[email protected]> 1.33-1
- New upstream version
* Fri Jul 31 2009 Eric Sandeen <[email protected]> 1.32-1
- New upstream version
* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 1.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jul 11 2009 Eric Sandeen <[email protected]> 1.31-1
- Much newer upstream version
* Fri Mar 06 2009 Eric Sandeen <[email protected]> 1.24-1
- New upstream version
* Tue Feb 24 2009 Fedora Release Engineering <[email protected]> - 1.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Nov 20 2008 Eric Sandeen <[email protected]> 1.23-1
- New upstream version, several bugs fixed.
* Mon Oct 13 2008 Eric Sandeen <[email protected]> 1.22-1
- New upstream version, several bugs fixed.
* Thu Jun 19 2008 Eric Sandeen <[email protected]> 1.21-1
- New upstream version
- Build verbosely and with RPM cflags
* Fri Apr 25 2008 Eric Sandeen <[email protected]> 1.20-1
- New upstream version
* Thu Apr 10 2008 Eric Sandeen <[email protected]> 1.19-1
- New upstream version
* Wed Feb 13 2008 Eric Sandeen <[email protected]> 1.18-1
- Initial build