diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-23 22:01:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-09-23 22:01:58 (GMT) |
commit | 19b78cae7b42e9c244e30ca688ee15eeab2d47ef (patch) | |
tree | 5cbee0e8d07b3e2ffcb3c35e82fbe68c79152627 | |
parent | ec51e77e66286ba39d488f1c541edbb2aa2808d8 (diff) | |
download | hdf5-19b78cae7b42e9c244e30ca688ee15eeab2d47ef.zip hdf5-19b78cae7b42e9c244e30ca688ee15eeab2d47ef.tar.gz hdf5-19b78cae7b42e9c244e30ca688ee15eeab2d47ef.tar.bz2 |
[svn-r11463] Purpose:
Code cleanup
Description:
#ifdef out blksize field in file structure for non-GPFS builds.
Platforms tested:
None - just eyeballed - very minor.
-rw-r--r-- | src/H5FDmpiposix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c index 0a7a20e..11e7849 100644 --- a/src/H5FDmpiposix.c +++ b/src/H5FDmpiposix.c @@ -94,7 +94,9 @@ typedef struct H5FD_mpiposix_t { haddr_t pos; /* Current file I/O position */ int op; /* Last file I/O operation */ hsize_t naccess; /* Number of (write) accesses to file */ +#ifdef H5_HAVE_GPFS size_t blksize; /* Block size of file system */ +#endif hbool_t use_gpfs; /* Use GPFS to write things */ #ifndef WIN32 /* @@ -751,8 +753,8 @@ H5FD_mpiposix_open(const char *name, unsigned flags, hid_t fapl_id, file->fd = fd; file->eof = sb.st_size; - /* for WIN32 support. WIN32 'stat' does not have st_blksize and st_blksize - is only used for the H5_HAVE_GPFS case */ + /* for WIN32 support. WIN32 'stat' does not have st_blksize and st_blksize + is only used for the H5_HAVE_GPFS case */ #ifdef H5_HAVE_GPFS file->blksize = sb.st_blksize; #endif |