diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-12-04 13:25:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-12-04 13:25:10 (GMT) |
commit | 2de9d784741020f3f35211f8451924aa83b8bcee (patch) | |
tree | 484a6e47d71b5d739be20d02256d39cabbbf34b0 | |
parent | 7662d643faf7dd5b32909ef49c09b5123cb7f3c6 (diff) | |
download | hdf5-2de9d784741020f3f35211f8451924aa83b8bcee.zip hdf5-2de9d784741020f3f35211f8451924aa83b8bcee.tar.gz hdf5-2de9d784741020f3f35211f8451924aa83b8bcee.tar.bz2 |
[svn-r6172] Purpose:
Bug fix
Description:
Correct another missing field I overlooked earlier.
-rw-r--r-- | src/H5FDmpiposix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c index 9705df9..63b445b 100644 --- a/src/H5FDmpiposix.c +++ b/src/H5FDmpiposix.c @@ -86,8 +86,9 @@ typedef struct H5FD_mpiposix_t { haddr_t eoa; /*end-of-address marker */ haddr_t last_eoa; /* Last known end-of-address marker */ haddr_t pos; /* Current file I/O position */ - hsize_t naccess; /* Number of (write) accesses to file */ int op; /* Last file I/O operation */ + hsize_t naccess; /* Number of (write) accesses to file */ + size_t blksize; /* Block size of file system */ #ifndef WIN32 /* * On most systems the combination of device and i-node number uniquely @@ -677,6 +678,7 @@ H5FD_mpiposix_open(const char *name, unsigned flags, hid_t fapl_id, /* Set the general file information */ file->fd = fd; file->eof = sb.st_size; + file->blksize = sb.st_blksize; /* Set the MPI information */ file->comm = fa->comm; |