summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-08-10 20:31:39 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-08-10 20:31:39 (GMT)
commita6cbcabeb8f57d20afffff9a132995356895e496 (patch)
treee4a204a3a2bdcbe5e37b125361248cf4d29d38ac /src
parent0908350a647fd7fd0b9cbc376297f055973ced23 (diff)
downloadhdf5-a6cbcabeb8f57d20afffff9a132995356895e496.zip
hdf5-a6cbcabeb8f57d20afffff9a132995356895e496.tar.gz
hdf5-a6cbcabeb8f57d20afffff9a132995356895e496.tar.bz2
[svn-r27486] Changed the "unsupported" VFD in test/swmr.c to be the stdio VFD.
We were previously using the family VFD and that should be supported soon. I'd also like to explicitly test that the stdio VFD is unsupported since it can never be supported under SWMR due to the unpredictable nature of the buffering layer. Added a comment to the stdio VFD query function to indicate why SWMR is not supported. Tested on: local linux VM (very minor change)
Diffstat (limited to 'src')
-rw-r--r--src/H5FDstdio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index e02baa7..1af7a9e 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -580,7 +580,11 @@ H5FD_stdio_query(const H5FD_t *_f, unsigned long *flags /* out */)
/* Quiet the compiler */
_f=_f;
- /* Set the VFL feature flags that this driver supports */
+ /* Set the VFL feature flags that this driver supports.
+ *
+ * Note that this VFD does not support SWMR due to the unpredictable
+ * nature of the buffering layer.
+ */
if(flags) {
*flags = 0;
*flags|=H5FD_FEAT_AGGREGATE_METADATA; /* OK to aggregate metadata allocations */