diff options
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 05036e3e3458..1ef375dafb1c 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -344,6 +344,11 @@ struct queue_limits { | |||
| 344 | 344 | ||
| 345 | #ifdef CONFIG_BLK_DEV_ZONED | 345 | #ifdef CONFIG_BLK_DEV_ZONED |
| 346 | 346 | ||
| 347 | /* | ||
| 348 | * Maximum number of zones to report with a single report zones command. | ||
| 349 | */ | ||
| 350 | #define BLK_ZONED_REPORT_MAX_ZONES 8192U | ||
| 351 | |||
| 347 | extern unsigned int blkdev_nr_zones(struct block_device *bdev); | 352 | extern unsigned int blkdev_nr_zones(struct block_device *bdev); |
| 348 | extern int blkdev_report_zones(struct block_device *bdev, | 353 | extern int blkdev_report_zones(struct block_device *bdev, |
| 349 | sector_t sector, struct blk_zone *zones, | 354 | sector_t sector, struct blk_zone *zones, |
