]> Git Repo - linux.git/commit
block: provide fallbacks for blk_queue_zone_is_seq and blk_queue_zone_no
authorJohannes Thumshirn <[email protected]>
Tue, 12 May 2020 08:55:45 +0000 (17:55 +0900)
committerJens Axboe <[email protected]>
Wed, 13 May 2020 02:36:28 +0000 (20:36 -0600)
commit02992df822e7e36685593aad10721a5a9f8d3402
treefcb25d7dfe295383462ca1f094a44366916a5af4
parente6249cdd46e43a7d3bdb8cce5fe24565d6c11e94
block: provide fallbacks for blk_queue_zone_is_seq and blk_queue_zone_no

blk_queue_zone_is_seq() and blk_queue_zone_no() have not been called with
CONFIG_BLK_DEV_ZONED disabled until now.

The introduction of REQ_OP_ZONE_APPEND will change this, so we need to
provide noop fallbacks for the !CONFIG_BLK_DEV_ZONED case.

Signed-off-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
include/linux/blkdev.h
This page took 0.055044 seconds and 4 git commands to generate.