]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flag
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 9 Nov 2017 18:49:57 +0000 (10:49 -0800)
committerJens Axboe <axboe@kernel.dk>
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 <bart.vanassche@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Martin Steigerwald <martin@lichtvoll.de>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq-debugfs.c
include/linux/blkdev.h