Commit 2b9a4dc9 authored by Bart Van Assche's avatar Bart Van Assche Committed by Bart Van Assche
Browse files

FROMGIT: block: mq-deadline: Track the dispatch position



Track the position (sector_t) of the most recently dispatched request
instead of tracking a pointer to the next request to dispatch. This
patch is the basis for patch "Handle requeued requests correctly".
Without this patch it would be significantly more complicated to make
sure that zoned writes are dispatched in LBA order per zone.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Cc: Ming Lei <ming.lei@redhat.com>
Change-Id: I7ea38c43ae4e80b3a2257b631b58754c60aff4df
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230517174230.897144-10-bvanassche@acm.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Bug: 275581839
(cherry picked from commit 83c46ed6 https://git.kernel.dk/cgit/linux/

)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 1d129b2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment