block: support PREEMPT_ONLY
When queue is in PREEMPT_ONLY mode, only REQ_PREEMPT request can be allocated and dispatched, other requests won't be allowed to enter I/O path. This is useful for supporting safe SCSI quiesce. Part of this patch is from Bart's '[PATCH v4 4∕7] block: Add the QUEUE_FLAG_PREEMPT_ONLY request queue flag'. Change-Id: Iffe29f0d6385e56bd6352c3f5c09a11346c12142 Tested-by:Oleksandr Natalenko <oleksandr@natalenko.name> Tested-by:
Martin Steigerwald <martin@lichtvoll.de> Cc: Bart Van Assche <Bart.VanAssche@wdc.com> Signed-off-by:
Ming Lei <ming.lei@redhat.com> Patch-mainline: linux-block@vger.kernel.org @ 03/10/2017, 22:04 Signed-off-by:
Pradeep P V K <ppvk@codeaurora.org>
Loading
Please register or sign in to comment