commit | 5dca6eea91653e9949ce6eb9e9acab6277e2f2c4 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Mon May 12 12:47:36 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Mon Jun 09 17:20:47 2014 -0700 |
tree | b170e4ffb449b3cb876efcb1ebbe957c5fc71c8b | |
parent | 29cc83f69c8338ff8fd1383c9be263d4bdf52d73 [diff] |
Btrfs: mark mapping with error flag to report errors to userspace According to commit 865ffef3797da2cac85b3354b5b6050dc9660978 (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>