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.