diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2024-11-07 15:43:00 +0900 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2024-11-07 15:30:54 -0700 |
| commit | f3d9bf05140dd242cdc33c431489a853f2bc1b67 (patch) | |
| tree | f05c753fe689a976ae0a0e2ef7f4029ba704b33c /tools/perf/scripts/python/bin | |
| parent | block: RCU protect disk->conv_zones_bitmap (diff) | |
| download | linux-f3d9bf05140dd242cdc33c431489a853f2bc1b67.tar.gz linux-f3d9bf05140dd242cdc33c431489a853f2bc1b67.zip | |
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 <hch@lst.de>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241107064300.227731-3-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
