Revert "ANDROID: block: Warn if a zoned write is about to be reordered"

This reverts commit 88819308f5.

Revert this commit in preparation of partially reverting "Send requeued
requests to the I/O scheduler".

Bug: 285769645
Change-Id: Ic447d3a245957c4b6a739cbe87503b6a14c8d627
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Bart Van Assche
2023-06-08 06:24:46 -07:00
parent a638696f49
commit cc244e96d7

View File

@@ -1876,8 +1876,6 @@ void blk_mq_request_bypass_insert(struct request *rq, bool at_head,
{
struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
WARN_ON_ONCE(rq->q->elevator && blk_rq_is_seq_zoned_write(rq));
spin_lock(&hctx->lock);
if (at_head)
list_add(&rq->queuelist, &hctx->dispatch);