]> www.infradead.org Git - users/jedix/linux-maple.git/commit
erofs: add SEEK_{DATA,HOLE} support
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 11 Oct 2024 06:51:28 +0000 (14:51 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 12 Nov 2024 02:25:19 +0000 (10:25 +0800)
commit83a8836fa19a3930da72aaef553cbecd36a2966a
tree2bc5a9d957a63b3a13ac4d24870060f4532e09e0
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230
erofs: add SEEK_{DATA,HOLE} support

Many userspace programs (including erofs-utils itself) use SEEK_DATA /
SEEK_HOLE to parse hole extents in addition to FIEMAP.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241011065128.2097377-1-hsiangkao@linux.alibaba.com
fs/erofs/data.c