block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flag
authorBart Van Assche <[email protected]>
Thu, 9 Nov 2017 18:49:57 +0000 (10:49 -0800)
committerJens Axboe <[email protected]>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commitc9254f2ddb19387ea9714a57ea48463c20333b92
tree8b0ded19c9d2847de42e971b9f951570416acc60
parent039c635f4e666b647df2100038de276a83fb3fca
block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flag

This flag will be used in the next patch to let the block layer
core know whether or not a SCSI request queue has been quiesced.
A quiesced SCSI queue namely only processes RQF_PREEMPT requests.

Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Martin Steigerwald <[email protected]>
Tested-by: Oleksandr Natalenko <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-core.c
block/blk-mq-debugfs.c
include/linux/blkdev.h