On Tue, Jun 10, 2025 at 07:55:52AM -0700, Darrick J. Wong wrote: > Hrmm. On closer examination, at least for xfs we've taken i_rwsem and > the invalidate_lock so I think it should be the case that you don't need > to revalidate. I think the same locks are held for iomap_unshare_range > (mentioned elsewhere in this thread) though it doesn't apply to regular > pagecache writes. We should document these assumptions, preferable using (lockdep) asserts.