aboutsummaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-06-15 14:55:21 -0700
committerJens Axboe <axboe@kernel.dk>2018-07-09 09:07:52 -0600
commit6a5ac9846508ad7d1d23881d9d5add35f2e6ae71 (patch)
treec0386ecdda510c941829913bba55aa68085a92b3 /block/bfq-iosched.h
parentblock: Inline blk_queue_nr_zones() (diff)
downloadlinux-dev-6a5ac9846508ad7d1d23881d9d5add35f2e6ae71.tar.xz
linux-dev-6a5ac9846508ad7d1d23881d9d5add35f2e6ae71.zip
block: Make struct request_queue smaller for CONFIG_BLK_DEV_ZONED=n
Exclude zoned block device members from struct request_queue for CONFIG_BLK_DEV_ZONED == n. Avoid breaking the build by only building the code that uses these struct request_queue members if CONFIG_BLK_DEV_ZONED != n. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Cc: Matias Bjorling <mb@lightnvm.io> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions