diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-06-16 00:55:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 18:07:52 +0300 |
commit | 6a5ac9846508ad7d1d23881d9d5add35f2e6ae71 (patch) | |
tree | c0386ecdda510c941829913bba55aa68085a92b3 /mm/compaction.c | |
parent | 7c8542b7982264226cf94102950343185869b584 (diff) | |
download | linux-6a5ac9846508ad7d1d23881d9d5add35f2e6ae71.tar.xz |
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 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions