[PATCH 0/2] erofs-utils: lib: oci: implement on-demand caching and direct IO
ChengyuZhu6
hudson at cyzhu.com
Mon Dec 1 02:16:24 AEDT 2025
From: hudsonzhu <hudsonzhu at tencent.com>
This patchset improves OCI blob handling efficiency by introducing an
on-demand local file cache and implementing direct data writing to
the target file descriptor.
These changes significantly reduce memory usage during large downloads
and enhance random access performance for remote images by avoiding
redundant data transfers.
Chengyu Zhu (2):
erofs-utils: lib: oci: add on-demand blob cache
erofs-utils: lib: oci: write downloaded data directly to fd
lib/liberofs_oci.h | 1 +
lib/remotes/oci.c | 358 +++++++++++++++++++++++++++++----------------
2 files changed, 234 insertions(+), 125 deletions(-)
--
2.47.1
More information about the Linux-erofs
mailing list