Remove flag RQF_PREEMPT and BLK_MQ_REQ_PREEMPT since these are no longer used by any kernel code.
Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all
Unified · Split
| @@ -79,9 +79,6 @@ typedef __u32 __bitwise req_flags_t; · 78 unmodified lines | ||
| 79 | 79 | #define RQF_MQ_INFLIGHT ((__force req_flags_t)(1 << 6)) |
| 80 | 80 | /* don't call prep for this one */ |
| 81 | 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 | 82 | /* vaguely specified driver internal error. Ignored by the block layer */ |
| 86 | 83 | #define RQF_FAILED ((__force req_flags_t)(1 << 10)) |
| 87 | 84 | /* don't warn about errors */ |
| @@ -430,8 +427,7 @@ struct request_queue { · 342 unmodified lines | ||
| 430 | 427 | unsigned long queue_flags; |
| 431 | 428 | /* |
| 432 | 429 | * 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. | |
| 435 | 431 | */ |
| 436 | 432 | atomic_t pm_only; |
| 437 | 433 | |