On Wed 16-11-22 22:31:47, Christoph Hellwig wrote: > On Wed, Nov 16, 2022 at 07:20:40PM +0100, Jan Kara wrote: > > Looking at the code, IMO the write_one_page() looks somewhat premature > > anyway in that place. AFAICS we could handle the writeout using > > filemap_write_and_wait() if we moved it to somewhat later moment. So > > something like attached patch (only basic testing only so far)? > > Yes, this looks sensible. Do you want to queue this one and the > ext2 and udf patches from this series if the testing works fine? OK, I'll take udf and ext2 patches through my tree. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR