diff options
author | 2014-10-07 01:48:26 +0100 | |
---|---|---|
committer | 2014-11-20 17:14:26 -0800 | |
commit | 7bdcefc103849386ef7f3029dd94ecfd4a822a67 (patch) | |
tree | c55af204cb18c4fe3679dd2a06a19b78618a5a76 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: make inode.c:submit_compressed_extents() return void (diff) | |
download | linux-dev-7bdcefc103849386ef7f3029dd94ecfd4a822a67.tar.xz linux-dev-7bdcefc103849386ef7f3029dd94ecfd4a822a67.zip |
Btrfs: don't ignore compressed bio write errors
Our compressed bio write end callback was essentially ignoring the error
parameter. When a write error happens, it must pass a value of 0 to the
inode's write_page_end_io_hook callback, SetPageError on the respective
pages and set AS_EIO in the inode's mapping flags, so that a call to
filemap_fdatawait_range() / filemap_fdatawait() can find out that errors
happened (we surely don't want silent failures on fsync for example).
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions