diff options
author | Al Viro <[email protected]> | 2024-04-11 15:53:44 +0100 |
---|---|---|
committer | Al Viro <[email protected]> | 2024-05-03 02:36:21 -0400 |
commit | dc0fdfc855bea671ee503f9c706303367bdda946 (patch) | |
tree | d64c328e06456e0ac710f98e07a5a33d7a41de9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 39c3b4e7d0a0d8876f29ea078b978b3caa924542 (diff) |
dm-vdo: use bdev_nr_bytes(bdev) instead of i_size_read(bdev->bd_inode)
going to be faster, actually - shift is cheaper than dereference...
Signed-off-by: Al Viro <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Matthew Sakai <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions