diff options
author | Damien Le Moal <[email protected]> | 2024-11-07 15:43:00 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-11-07 15:30:54 -0700 |
commit | f3d9bf05140dd242cdc33c431489a853f2bc1b67 (patch) | |
tree | f05c753fe689a976ae0a0e2ef7f4029ba704b33c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d7cb6d7414ea1b33536fa6d11805cb8dceec1f97 (diff) |
block: Add a public bdev_zone_is_seq() helper
Turn the private disk_zone_is_conv() function in blk-zoned.c into a
public and documented bdev_zone_is_seq() helper with the inverse
polarity of the original function, also adding a check for non-zoned
devices so that all file systems can use the helper, even with a regular
block device.
Suggested-by: Christoph Hellwig <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions