aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-18 12:11:02 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 14:43:22 -0600
commit6436bd90f76e75d2c5786a50203b05a9b7f7100d (patch)
tree42be0dddf22b8518f4ca2cd0c6d5d9995844e750 /tools/perf/scripts/python/export-to-postgresql.py
parentblock: move the SECTOR_SIZE related definitions to blk_types.h (diff)
downloadwireguard-linux-6436bd90f76e75d2c5786a50203b05a9b7f7100d.tar.xz
wireguard-linux-6436bd90f76e75d2c5786a50203b05a9b7f7100d.zip
block: add a bdev_nr_bytes helper
Add a helper to query the size of a block device in bytes. This will be used to remove open coded access to ->bd_inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20211018101130.1838532-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions