summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2014-07-24 14:48:05 (GMT)
committerChris Mason <clm@fb.com>2014-08-15 14:43:18 (GMT)
commitce62003f690dff38d3164a632ec69efa15c32cbf (patch)
tree5cf6ced20c580a18e50496ca926bbb256ddb5bc7 /tools
parentf90e579c2b391979630b3343de0be65ab1b478ce (diff)
downloadlinux-ce62003f690dff38d3164a632ec69efa15c32cbf.tar.xz
Btrfs: fix compressed write corruption on enospc
When failing to allocate space for the whole compressed extent, we'll fallback to uncompressed IO, but we've forgotten to redirty the pages which belong to this compressed extent, and these 'clean' pages will simply skip 'submit' part and go to endio directly, at last we got data corruption as we write nothing. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Tested-By: Martin Steigerwald <martin@lichtvoll.de> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions