The nfs backend needs #define _FILE_OFFSET_BITS 64
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 1 Mar 2010 21:44:31 +0000 (08:44 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 1 Mar 2010 21:44:31 +0000 (08:44 +1100)
or else we will wrap and wont be able to write beyong the 4gb boundary.

nfsio.c

diff --git a/nfsio.c b/nfsio.c
index a9700c7b8e5c3329bebf6a440dbb19e05ffa9d17..6ee835c0a3550d4ccd6a6fd7c9fb0ecd1d39ebe7 100644 (file)
--- a/nfsio.c
+++ b/nfsio.c
@@ -15,6 +15,8 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
+#define _FILE_OFFSET_BITS 64
+
 #include "nfs.h"
 #include "dbench.h"