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
79#define RQF_MQ_INFLIGHT ((__force req_flags_t)(1 << 6))79#define RQF_MQ_INFLIGHT ((__force req_flags_t)(1 << 6))
80/* don't call prep for this one */80/* don't call prep for this one */
81#define RQF_DONTPREP ((__force req_flags_t)(1 << 7))81#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))
85/* vaguely specified driver internal error. Ignored by the block layer */82/* vaguely specified driver internal error. Ignored by the block layer */
86#define RQF_FAILED ((__force req_flags_t)(1 << 10))83#define RQF_FAILED ((__force req_flags_t)(1 << 10))
87/* don't warn about errors */84/* don't warn about errors */
@@ -430,8 +427,7 @@ struct request_queue { · 342 unmodified lines
430 unsigned long queue_flags;427 unsigned long queue_flags;
431 /*428 /*
432 * Number of contexts that have called blk_set_pm_only(). If this429 * 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 are430 * counter is above zero then only RQF_PM requests are processed.
434 * processed.
435 */431 */
436 atomic_t pm_only;432 atomic_t pm_only;
437 433