Re: [PATCH 4/7] xfs: buffered write failure should not truncate the page cache

Christoph Hellwig
2022-11-02T07:24:44Z

Just a little dumb question while I'm wrapping my head around the change
here - why do we even punch the pagecache to start with? As long as the
regions that we failed to write to aren't marked uptdate (at the page
or block level for sub-block writes), who cares if they remain in the
page cache for now?