Patch 1 fixes a potential data corruption when the last page of the inode is cached and a sync append direct write partially modify the data of that page on disk. The second patch avoids propagating to user space the -ENOTBLK error potentially returned by iomap_dio_rw(). Changes from v1: - Reworked patch 1 commit message and use an exact end argument for the call to invalidate_inode_pages2_range(). - Added patch 2. Damien Le Moal (2): zonefs: Always invalidate last cached page on append write zonefs: Do not propagate iomap_dio_rw() ENOTBLK error to user space fs/zonefs/file.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) -- 2.39.2