mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
Revert "ANDROID: block: Introduce a request queue flag for pipelining zoned writes"
Prepare for applying the FROMLIST version of this patch.
This reverts commit 54678c4c75.
Bug: 234829282
Change-Id: I37215b4527d993e56b1e9a85c390c9ce843850e7
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
@@ -603,8 +603,6 @@ struct request_queue {
|
||||
#define QUEUE_FLAG_RQ_ALLOC_TIME 27 /* record rq->alloc_time_ns */
|
||||
#define QUEUE_FLAG_HCTX_ACTIVE 28 /* at least one blk-mq hctx is active */
|
||||
#define QUEUE_FLAG_NOWAIT 29 /* device supports NOWAIT */
|
||||
/* Pipeline zoned writes (REQ_OP_WRITE, REQ_OP_WRITE_ZEROES). */
|
||||
#define QUEUE_FLAG_PIPELINE_ZONED_WRITES 30
|
||||
|
||||
#define QUEUE_FLAG_MQ_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
|
||||
(1 << QUEUE_FLAG_SAME_COMP) | \
|
||||
@@ -652,11 +650,6 @@ bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q);
|
||||
#define blk_queue_registered(q) test_bit(QUEUE_FLAG_REGISTERED, &(q)->queue_flags)
|
||||
#define blk_queue_nowait(q) test_bit(QUEUE_FLAG_NOWAIT, &(q)->queue_flags)
|
||||
|
||||
static inline bool blk_queue_pipeline_zoned_writes(struct request_queue *q)
|
||||
{
|
||||
return test_bit(QUEUE_FLAG_PIPELINE_ZONED_WRITES, &q->queue_flags);
|
||||
}
|
||||
|
||||
extern void blk_set_pm_only(struct request_queue *q);
|
||||
extern void blk_clear_pm_only(struct request_queue *q);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user