diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2006-11-06 22:17:46 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2006-11-06 22:17:46 (GMT) |
commit | 8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76 (patch) | |
tree | e95317e9f70ba1bcfaab80b88e1368038ba1b2b1 /test/h5test.c | |
parent | 2e8e42d6c9a229d0490cd97e9711fb707ad67578 (diff) | |
download | hdf5-8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76.zip hdf5-8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76.tar.gz hdf5-8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76.tar.bz2 |
[svn-r12870] Add a new macro H5_HAVE_DIRECT_ALIGN in configure.in. Some systems like copper and sleipnir
doesn't require alignment for Direct I/O. If this's true, write or read data just like sec2
does.
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c index 840e126..93f992e 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -581,7 +581,7 @@ h5_fileaccess(void) #ifdef H5_HAVE_DIRECT /* Linux direct read() and write() system calls. Set memory boundary, file block size, * and copy buffer size to the default values. */ - if (H5Pset_fapl_direct(fapl, 1024, 4096, 7*4096)<0) return -1; + if (H5Pset_fapl_direct(fapl, 1024, 4096, 8*4096)<0) return -1; #endif } else { /* Unknown driver */ |