diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2022-02-21 21:32:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 21:32:29 (GMT) |
commit | 3107fafa2ce858b598617463334d3d6d01dc1e4c (patch) | |
tree | 68e4cafcbbd96fa35dfd4a66a55078509e928c7b /src | |
parent | c302773438a4db0b56d32eaf9cf8a92b56848c0a (diff) | |
download | hdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.zip hdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.tar.gz hdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.tar.bz2 |
Oess 168 utils mirror vfd (#1444)
* Committing clang-format changes
* Spelling of preceed was corrected to proceed, but should have been
corrected to precede.
* Correct spelling correction of 'preceed' incorrectly to 'proceed'. It should be 'precede'.
* OESS-168: Remove clang warnings.
* OESS-168: Address @lrknox and @gnuoyd reviews.
* Eliminate clang warnings listed in PR #1310 without adding new ssize_t
variables.
* Committing clang-format changes
* Add H5_ATTR_UNUSED to wait_for_child call.
Remove unneeded casts in mirror_log calls.
* Keep ssize_t in mirror_server.c line 479.
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hyo-Kyung Lee <hyoklee@hdfgroup.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDmirror_priv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDmirror_priv.h b/src/H5FDmirror_priv.h index 6a7b13e..f647c21 100644 --- a/src/H5FDmirror_priv.h +++ b/src/H5FDmirror_priv.h @@ -28,10 +28,10 @@ extern "C" { * = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */ -/* The maximum allowed size for a receiving buffer when accepting bytes to +/* Define the maximum allowed size for a receiving buffer when accepting bytes to * write. Writes larger than this size are performed by multiple accept-write * steps by the Writer. */ -#define H5FD_MIRROR_DATA_BUFFER_MAX H5_GB /* 1 Gigabyte */ +#define H5FD_MIRROR_DATA_BUFFER_MAX (1024 * 1024 * 1024) /* 1 Gigabyte */ #define H5FD_MIRROR_XMIT_CURR_VERSION 1 #define H5FD_MIRROR_XMIT_MAGIC 0x87F8005B |