Re: [PATCH 3/3] xfs: Fix comment of xfs_buffered_write_iomap_begin()

From: Tang Yizhou
Date: Sun Oct 06 2024 - 10:29:07 EST


On Wed, Oct 2, 2024 at 9:45 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 02, 2024 at 09:00:04PM +0800, Tang Yizhou wrote:
> > From: Tang Yizhou <yizhou.tang@xxxxxxxxxx>
> >
> > Since macro MAX_WRITEBACK_PAGES has been removed from the writeback
> > path, change MAX_WRITEBACK_PAGES to the actual value of 1024.
>
> Well, that's an indicator that this code need a bit of a resync with
> the writeback code so that the comment stays true.

Thanks for your advice. I will rewrite the code following the logic of
writeback_chunk_size().

Yi