[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-block
Subject: Re: [PATCH v3 3/9] block: Introduce blk_rq_is_seq_zoned_write()
From: Bart Van Assche <bvanassche () acm ! org>
Date: 2023-04-28 19:59:25
Message-ID: 54b60a07-9379-7f4e-31e9-82f739415892 () acm ! org
[Download RAW message or body]
On 4/27/23 22:45, Christoph Hellwig wrote:
>> bool blk_req_needs_zone_write_lock(struct request *rq)
>> {
>> return rq->q->disk->seq_zones_wlock &&
>> - (req_op(rq) == REQ_OP_WRITE ||
>> - req_op(rq) == REQ_OP_WRITE_ZEROES) &&
>> - blk_rq_zone_is_seq(rq);
>> + blk_rq_is_seq_zoned_write(rq);
>> }
>
> .. and given that this just reshuffles the previous patch it might
> make sense to just move it before that.
Hi Christoph,
I will move this patch in front of the micro-optimization patch.
Thanks,
Bart.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic