FROMGIT: erofs: add multiple device support
In order to support multi-layer container images, add multiple device feature to EROFS. Two ways are available to use for now: - Devices can be mapped into 32-bit global block address space; - Device ID can be specified with the chunk indexes format. Note that it assumes no extent would cross device boundary and mkfs should take care of it seriously. In the future, a dedicated device manager could be introduced then thus extra devices can be automatically scanned by UUID as well. Link: https://lore.kernel.org/r/20211014081010.43485-1-hsiangkao@linux.alibaba.com Reviewed-by:Chao Yu <chao@kernel.org> Reviewed-by:
Liu Bo <bo.liu@linux.alibaba.com> Signed-off-by:
Gao Xiang <hsiangkao@linux.alibaba.com> (cherry picked from commit 12551e2f https://android.googlesource.com/kernel/common android13-5.10) BUG=b:273658215 TEST=`tast run $DUT arc.Boot.vm` TEST=`tast run $DUT arc.Playstore.vm` Change-Id: I4449cd99a6c3e085276576a3afa1486199604370 Signed-off-by:
Ryuichiro Chiba <chibar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4583883 Reviewed-by:
Sean Paul <sean@poorly.run> Reviewed-by:
Hikaru Nishida <hikalium@chromium.org>
Loading
Please sign in to comment