diff options
author | 2024-02-22 12:42:45 -0800 | |
---|---|---|
committer | 2024-02-22 12:42:45 -0800 | |
commit | 1c51ac0998ed9baaca3ac75c0083b4c3b4d993ef (patch) | |
tree | 2142d74349cc66e73a5c9c17481c0ae8201fed8f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: remove xfs_setsize_buftarg_early (diff) | |
download | wireguard-linux-1c51ac0998ed9baaca3ac75c0083b4c3b4d993ef.tar.xz wireguard-linux-1c51ac0998ed9baaca3ac75c0083b4c3b4d993ef.zip |
xfs: move setting bt_logical_sectorsize out of xfs_setsize_buftarg
bt_logical_sectorsize and the associated mask is set based on the
constant logical block size in the block_device structure and thus
doesn't need to be updated in xfs_setsize_buftarg. Move it into
xfs_alloc_buftarg so that it is only done once per buftarg.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions