From: hudsonzhu <[email protected]> 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
