diff options
author | 2023-10-14 07:50:35 +0200 | |
---|---|---|
committer | 2025-03-03 08:16:44 -0700 | |
commit | 8ae4c8cec0bb4f437c16ba5f4b4d63a1f3a87062 (patch) | |
tree | 415fb6f3f2999be3f46ac56be9e03974a1232770 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: move xfs_bmapi_reserve_delalloc to xfs_iomap.c (diff) | |
download | wireguard-linux-8ae4c8cec0bb4f437c16ba5f4b4d63a1f3a87062.tar.xz wireguard-linux-8ae4c8cec0bb4f437c16ba5f4b4d63a1f3a87062.zip |
xfs: skip always_cow inodes in xfs_reflink_trim_around_shared
xfs_reflink_trim_around_shared tries to find shared blocks in the
refcount btree. Always_cow inodes don't have that tree, so don't
bother.
For the existing always_cow code this is a minor optimization. For
the upcoming zoned code that can do COW without the rtreflink code it
avoids triggering a NULL pointer dereference.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions