]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
fiemap: add a nosync option
authorPankaj Raghav <p.raghav@samsung.com>
Tue, 14 Jul 2026 20:32:06 +0000 (22:32 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 15 Jul 2026 07:40:56 +0000 (09:40 +0200)
commitac14db9cd430eace5d638b217cbded8a75b235cb
tree7ef3f57b6322583527847ee7f2588e2cddb3d5c0
parentee7dc67a6aaf2a7ec3e63ebe230a67541ca671a8
fiemap: add a nosync option

io/fiemap adds FIEMAP_FLAG_SYNC by default. There are some test cases
where adding this flag might have an undesired side effect on the
results [1].

Add an option that does not pass FIEMAP_FLAG_SYNC flag.

[1] https://lore.kernel.org/linux-xfs/ca21b3c4-e1df-4ba7-8e9c-5d221337c86b@huaweicloud.com/

Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
io/fiemap.c
man/man8/xfs_io.8