On 4/27/23 22:50, Christoph Hellwig wrote:
On Mon, Apr 24, 2023 at 01:33:27PM -0700, Bart Van Assche wrote:
Track the position (sector_t) of the most recently dispatched request
instead of tracking a pointer to the next request to dispatch. This
patch simplifies the code for inserting and removing a request from the
red-black tree.
Can you explain what the simplification is? As of this patch the
code looks more complicated to me..
How about changing the patch description into the following text?
"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 me significantly more complicated to start
searching for a zoned write from the start of a zone."
Thanks,
Bart.