Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: mark mapping with error flag to report errors to userspace
According to commit 865ffef (fs: fix fsync() error reporting), it's not stable to just check error pages because pages can be truncated or invalidated, we should also mark mapping with error flag so that a later fsync can catch the error. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com>
- Loading branch information