Re: [PATCH 2/2] iomap: fall back to buffered writes for invalidation failures
From: Matthew Wilcox <willy@infradead.org>
Date: 2020-07-13 11:55:21
Also in:
linux-btrfs, linux-fsdevel, linux-xfs
From: Matthew Wilcox <willy@infradead.org>
Date: 2020-07-13 11:55:21
Also in:
linux-btrfs, linux-fsdevel, linux-xfs
On Mon, Jul 13, 2020 at 09:46:33AM +0200, Christoph Hellwig wrote:
Failing to invalid the page cache means data in incoherent, which is a very bad state for the system. Always fall back to buffered I/O through the page cache if we can't invalidate mappings.
Is that the right approach though? I don't have a full picture in my head, but wouldn't we be better off marking these pages as !Uptodate and doing the direct I/O?