diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-05 22:22:52 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-06 00:22:59 +0300 |
commit | 5fdee2127faa77c9c91862ad5e001dfab7013e92 (patch) | |
tree | 6555789579fb2e9b44bed63a6856ed4870bbe4fc /drivers/md/dm.c | |
parent | b35bd0d9f8a8ea17aae40893e18274d191a2d2c5 (diff) | |
download | linux-5fdee2127faa77c9c91862ad5e001dfab7013e92.tar.xz |
block: remove QUEUE_FLAG_STACKABLE
We already have a queue_is_rq_based helper to check if a request_queue
is request based, so we can remove the flag for it.
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 6e54145969c5..8d07ad61221c 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1613,17 +1613,6 @@ static void dm_wq_work(struct work_struct *work); void dm_init_md_queue(struct mapped_device *md) { /* - * Request-based dm devices cannot be stacked on top of bio-based dm - * devices. The type of this dm device may not have been decided yet. - * The type is decided at the first table loading time. - * To prevent problematic device stacking, clear the queue flag - * for request stacking support until then. - * - * This queue is new, so no concurrency on the queue_flags. - */ - queue_flag_clear_unlocked(QUEUE_FLAG_STACKABLE, md->queue); - - /* * Initialize data that will only be used by a non-blk-mq DM queue * - must do so here (in alloc_dev callchain) before queue is used */ |