On Tue, Dec 03, 2024 at 09:54:41AM -0500, Brian Foster wrote: > Not sure I see how this is a serialization dependency given that > writeback completion also samples i_size. But no matter, it seems a > reasonable implementation to me to make the submission path consistent > in handling eof. > > I wonder if this could just use end_pos returned from > iomap_writepage_handle_eof()? > > Brian > It seems reasonable to me, but end_pos is block-size granular. We need to pass in a more precise byte-granular end. Thanks, Long Li