History

scsi: block: Remove RQF_PREEMPT and BLK_MQ_REQ_PREEMPT

Remove flag RQF_PREEMPT and BLK_MQ_REQ_PREEMPT since these are no longer used by any kernel code.

Bart Van Assche committed 5 years ago

Commit a4d34da1 parent e6044f75 files · +4 −14Browse files

Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all

Unified · Split

include/linux/blkdev.h+1−5
@@ -79,9 +79,6 @@ typedef __u32 __bitwise req_flags_t; · 78 unmodified lines
7979 #define RQF_MQ_INFLIGHT ((__force req_flags_t)(1 << 6))
8080 /* don't call prep for this one */
8181 #define RQF_DONTPREP ((__force req_flags_t)(1 << 7))
82−/* set for "ide_preempt" requests and also for requests for which the SCSI
83− "quiesce" state must be ignored. */
84−#define RQF_PREEMPT ((__force req_flags_t)(1 << 8))
8582 /* vaguely specified driver internal error. Ignored by the block layer */
8683 #define RQF_FAILED ((__force req_flags_t)(1 << 10))
8784 /* don't warn about errors */
@@ -430,8 +427,7 @@ struct request_queue { · 342 unmodified lines
430427 unsigned long queue_flags;
431428 /*
432429 * Number of contexts that have called blk_set_pm_only(). If this
433− * counter is above zero then only RQF_PM and RQF_PREEMPT requests are
434− * processed.
430+ * counter is above zero then only RQF_PM requests are processed.
435431 */
436432 atomic_t pm_only;
437433