[PATCH v1 0/2] oci: improve layer identification with digest-based approach

ChengyuZhu6 hudson at cyzhu.com
Sat Sep 13 18:27:46 AEST 2025


From: Chengyu Zhu <hudsonzhu at tencent.com>

This patch series improves OCI layer identification by replacing layer indices
with layer digests for more precise and reliable layer selection.

Chengyu Zhu (2):
  mount: change oci layer option from "oci=X" to "oci.layer=X"
  oci: replace layer index with layer digest

 lib/liberofs_oci.h |  6 ++--
 lib/remotes/oci.c  | 72 ++++++++++++++++++++++++++++++++--------------
 mkfs/main.c        | 21 +++++++-------
 mount/main.c       | 39 +++++++++++++------------
 4 files changed, 85 insertions(+), 53 deletions(-)

-- 
2.51.0



More information about the Linux-erofs mailing list