aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-05-02 09:14:51 +1000
committerDave Chinner <dchinner@redhat.com>2023-05-02 09:14:51 +1000
commit1f1397b7218d7f8e53e33c6b58cbf9601cd2d8e6 (patch)
treeba31b944b970f221adae3cc8f530af1eebd3d364 /tools/perf/scripts/python/exported-sql-viewer.py
parent397b2d7e0f3e28bbeaa05cf8e10d0fd601f446f4 (diff)
xfs: don't allocate into the data fork for an unshare request
For an unshare request, we only have to take action if the data fork has a shared mapping. We don't care if someone else set up a cow operation. If we find nothing in the data fork, return a hole to avoid allocating space. Note that fallocate will replace the delalloc reservation with an unwritten extent anyway, so this has no user-visible effects outside of avoiding unnecessary updates. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions