summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-09 23:40:24 +0100
committerJens Axboe <axboe@kernel.dk>2019-02-09 23:40:24 +0100
commitd11a3998985b351aaab6bbdc23bc884bd5e815c8 (patch)
tree92340a95a76fe5e482824a5c5a4698f65a45e066 /block/blk-settings.c
parentbcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata (diff)
downloadlinux-d11a3998985b351aaab6bbdc23bc884bd5e815c8.tar.xz
linux-d11a3998985b351aaab6bbdc23bc884bd5e815c8.zip
block: kill QUEUE_FLAG_FLUSH_NQ
We have various helpers for setting/clearing this flag, and also a helper to check if the queue supports queueable flushes or not. But nobody uses them anymore, kill it with fire. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r--block/blk-settings.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c
index 3e7038e475ee..6375afaedcec 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -799,15 +799,6 @@ void blk_queue_update_dma_alignment(struct request_queue *q, int mask)
}
EXPORT_SYMBOL(blk_queue_update_dma_alignment);
-void blk_queue_flush_queueable(struct request_queue *q, bool queueable)
-{
- if (queueable)
- blk_queue_flag_clear(QUEUE_FLAG_FLUSH_NQ, q);
- else
- blk_queue_flag_set(QUEUE_FLAG_FLUSH_NQ, q);
-}
-EXPORT_SYMBOL_GPL(blk_queue_flush_queueable);
-
/**
* blk_set_queue_depth - tell the block layer about the device queue depth
* @q: the request queue for the device