summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-10-24 02:06:18 (GMT)
committerGitHub <noreply@github.com>2023-10-24 02:06:18 (GMT)
commitceb03358a1d713078ae36bfff07be62b433d970a (patch)
treed27238a09581264256c3e5d971a468c2d7ede7a1
parent207d749a2810bd30ecc4321609c83fe51adbd0c3 (diff)
downloadhdf5-ceb03358a1d713078ae36bfff07be62b433d970a.zip
hdf5-ceb03358a1d713078ae36bfff07be62b433d970a.tar.gz
hdf5-ceb03358a1d713078ae36bfff07be62b433d970a.tar.bz2
Bump the ros3 VFD cache to 16 MiB (#3759)
-rw-r--r--release_docs/RELEASE.txt4
-rw-r--r--src/H5FDros3.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index a5bcb94..222c277 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -236,13 +236,13 @@ New Features
Library:
--------
- - Added a simple cache to the read-only S3 VFD
+ - Added a simple cache to the read-only S3 (ros3) VFD
The read-only S3 VFD now caches the first N bytes of a file stored
in S3 to avoid a lot of small I/O operations when opening files.
This cache is per-file and created when the file is opened.
- N is currently 4kiB or the size of the file, whichever is smaller.
+ N is currently 16 MiB or the size of the file, whichever is smaller.
Addresses GitHub issue #3381
diff --git a/src/H5FDros3.c b/src/H5FDros3.c
index f704eff..c6aea0e 100644
--- a/src/H5FDros3.c
+++ b/src/H5FDros3.c
@@ -44,7 +44,7 @@
#define ROS3_STATS 0
/* Max size of the cache, in bytes */
-#define ROS3_MAX_CACHE_SIZE 4096
+#define ROS3_MAX_CACHE_SIZE 16777216
/* The driver identification number, initialized at runtime
*/