Re: [RESEND PATCH v3 0/2] clean up block_commit_write

From: Matthew Wilcox
Date: Mon Jun 26 2023 - 08:28:16 EST


On Mon, Jun 26, 2023 at 07:55:16AM +0200, Bean Huo wrote:
> change log:
> v1--v2:
> 1. reordered patches
>
> v2--v3:
> 1. rebased patches to git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next

It's be nice to have a bit of an explanation for the whole series here,
but I think the two patches work standalone.

If you'd like to extend this work, you could convert the callers of
block_commit_write() to use a folio instead of a page and then unify
block_commit_write() and __block_commit_write() as you did in the earlier
version of your patchset. It shouldn't be too hard, both callers in
ext4 and the caller in iomap are already done. That just leaves the
three callers in ocfs2 and the one caller in udf.