[csw-devel] SF.net SVN: gar:[11704] csw/mgar/pkg/fio/trunk
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Wed Nov 24 08:47:06 CET 2010
Revision: 11704
http://gar.svn.sourceforge.net/gar/?rev=11704&view=rev
Author: skayser
Date: 2010-11-24 07:47:05 +0000 (Wed, 24 Nov 2010)
Log Message:
-----------
fio: integrate warning for missing directo IO support
Modified Paths:
--------------
csw/mgar/pkg/fio/trunk/Makefile
csw/mgar/pkg/fio/trunk/files/changelog.CSW
Added Paths:
-----------
csw/mgar/pkg/fio/trunk/files/0005-Warn-on-missing-direct-IO-support.patch
Modified: csw/mgar/pkg/fio/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fio/trunk/Makefile 2010-11-23 20:28:34 UTC (rev 11703)
+++ csw/mgar/pkg/fio/trunk/Makefile 2010-11-24 07:47:05 UTC (rev 11704)
@@ -27,6 +27,10 @@
PATCHFILES += 0003-Install-man-pages.patch
PATCHFILES += 0004-Honor-GAR-provided-default-bindir-and-mandir.patch
+# Should be integrated in future releases,
+# cf. http://www.spinics.net/lists/fio/msg00580.html
+PATCHFILES += 0005-Warn-on-missing-direct-IO-support.patch
+
# CLOCK_MONOTONIC undefined / not present on Solaris 9
PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
Added: csw/mgar/pkg/fio/trunk/files/0005-Warn-on-missing-direct-IO-support.patch
===================================================================
--- csw/mgar/pkg/fio/trunk/files/0005-Warn-on-missing-direct-IO-support.patch (rev 0)
+++ csw/mgar/pkg/fio/trunk/files/0005-Warn-on-missing-direct-IO-support.patch 2010-11-24 07:47:05 UTC (rev 11704)
@@ -0,0 +1,24 @@
+From fce8a30df709f83e231a78f8d82765850c5fa6cf Mon Sep 17 00:00:00 2001
+From: Sebastian Kayser <skayser at opencsw.org>
+Date: Wed, 24 Nov 2010 08:31:14 +0100
+Subject: [PATCH] Warn on missing direct IO support
+
+---
+ ioengines.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/ioengines.c b/ioengines.c
+index e0b0f22..35471ad 100644
+--- a/ioengines.c
++++ b/ioengines.c
+@@ -402,6 +402,7 @@ int td_io_open_file(struct thread_data *td, struct fio_file *f)
+
+ if (ret) {
+ td_verror(td, ret, "fio_set_odirect");
++ log_err("fio: the file system does not seem to support direct IO\n");
+ goto err;
+ }
+ }
+--
+1.7.3
+
Modified: csw/mgar/pkg/fio/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/fio/trunk/files/changelog.CSW 2010-11-23 20:28:34 UTC (rev 11703)
+++ csw/mgar/pkg/fio/trunk/files/changelog.CSW 2010-11-24 07:47:05 UTC (rev 11704)
@@ -1,5 +1,5 @@
-fio (1.44.2,REV=2010.11.16)
+fio (1.44.2,REV=2010.11.24)
* Initial release.
- -- Sebastian Kayser <skayser at opencsw.org> Tue, 16 Nov 2010 13:07:30 +0100
+ -- Sebastian Kayser <skayser at opencsw.org> Wed, 24 Nov 2010 08:11:31 +0100
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list