[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c6c3774b-16b5-404b-8876-56588d22b61b@linux.alibaba.com>
Date: Fri, 28 Nov 2025 09:57:50 +0800
From: Gao Xiang <hsiangkao@...ux.alibaba.com>
To: Ming Lei <ming.lei@...hat.com>, Christoph Hellwig <hch@...radead.org>
Cc: linux-erofs@...ts.ozlabs.org, LKML <linux-kernel@...r.kernel.org>,
Stephen Zhang <starzhangzsd@...il.com>
Subject: Re: [PATCH v2] erofs: get rid of raw bi_end_io() usage
On 2025/11/28 09:40, Gao Xiang wrote:
>
>
> On 2025/11/28 08:58, Ming Lei wrote:
>> On Thu, Nov 27, 2025 at 04:07:56PM +0800, Gao Xiang wrote:
>>> These BIOs are actually harmless in practice, as they are all pseudo
>>> BIOs and do not use advanced features like chaining. Using the BIO
>>> interface is a more friendly and unified approach for both bdev and
>>> and file-backed I/Os.
>>>
>>> Let's use bio_endio() instead.
>>>
>>> Signed-off-by: Gao Xiang <hsiangkao@...ux.alibaba.com>
>>> ---
>>> v2:
>>> - call bio_endio() unconditionally in erofs_fileio_ki_complete().
>>
>> bio_endio() can cover bio not submitted yet, so:
( btw, nevertheless, it's not submitted, just with or without
a given bio callback. )
I believe that is ok anyway.
>>
>> Reviewed-by: Ming Lei <ming.lei@...hat.com>
>
> Thank you and Christoph for review!
>
> Thanks,
> Gao Xiang
Powered by blists - more mailing lists