diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-10 18:26:18 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-10 18:26:18 +0300 |
commit | 14284fedf59f1647264f4603d64418cf1fcd3eb0 (patch) | |
tree | 6357691afc92cfdfc3843137ebcff6f03a5f6f11 /fs/isofs | |
parent | e6e7ca92623a43156100306861272e04d46385fc (diff) | |
download | linux-14284fedf59f1647264f4603d64418cf1fcd3eb0.tar.xz |
iomap: Mark read blocks uptodate in write_begin
When bringing (portions of) a page uptodate, we were marking blocks that
were zeroed as being uptodate, but not blocks that were read from storage.
Like the previous commit, this problem was found with generic/127 and
a kernel which failed readahead I/Os. This bug causes writes to be
silently lost when working with flaky storage.
Fixes: 9dc55f1389f9 ("iomap: add support for sub-pagesize buffered I/O without buffer heads")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions