Re: [PATCH v2 3/4] exfat: dirty all new pages when extending valid_size

From: Namjae Jeon

Date: Mon Oct 05 2026 - 05:20:42 EST


> @@ -664,90 +664,30 @@ int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
> static int exfat_zero_new_range(struct inode *inode, loff_t start, loff_t end)
Function name and comments no longer seem to match. What do you think
about changing them like this?

/*
* exfat_prepare_valid_range - populate and dirty folios covering [start, end)
*
* Populate missing blocks via the read path, which zero-fills data
* beyond the current valid_size while preserving uptodate blocks.
* Mark entire folios dirty so the newly valid range is written back.
*
* Call before advancing valid_size.
*/

And generic/538 test fails with this patch set. Please check if this
test failure is reproducible for you as well.
Thanks.