diff options
author | Christoph Hellwig <hch@lst.de> | 2024-10-31 16:08:35 +0300 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2024-11-05 15:51:59 +0300 |
commit | 792ef2745d12cc129887eaef5bc62fe15f6f088a (patch) | |
tree | 446fe112800c4dd3d7690571263ab2d0f36470f8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8b9b261594d8ef218ef4d0e732dad153f82aab49 (diff) | |
download | linux-792ef2745d12cc129887eaef5bc62fe15f6f088a.tar.xz |
xfs: simplify sector number calculation in xfs_zero_extent
xfs_zero_extent does some really odd gymnstics to calculate the block
layer sectors numbers passed to blkdev_issue_zeroout. This is because it
used to call sb_issue_zeroout and the calculations in that helper got
open coded here in the rather misleadingly named commit 3dc29161070a
("dax: use sb_issue_zerout instead of calling dax_clear_sectors").
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions