Skip to content

wic: Fix a bug when running "wic rm" on an aufs filesystem

Kevin Hao openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wic/filemap: Drop the unused block_is_unmapped()scripts/lib/wic/filemap.py+0 -170 replies
2/3wic/filemap: Drop the unused get_unmapped_ranges()scripts/lib/wic/filemap.py+2 -360 replies
3/3wic/filemap: Fall back to standard copy when no way to get the block mapscripts/lib/wic/filemap.py+27 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] wic: Fix a bug when running "wic rm" on an aufs filesystem

When running "wic rm" on a docker container which use the aufs as a storage driver, the wic would raise a exception since both SEEK_DATA/HOLE and FIEMAP are not supported on aufs filesystem. This patch series fixes this problem by introducing a new class to fall back to the standard copy in this case.

Kevin Hao (3):
wic/filemap: Drop the unused block_is_unmapped() wic/filemap: Drop the unused get_unmapped_ranges() wic/filemap: Fall back to standard copy when no way to get the block
map

 scripts/lib/wic/filemap.py | 75 +++++++++++++-------------------------
 1 file changed, 25 insertions(+), 50 deletions(-)
Signature · 1 line
2.26.2