diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-09-27 16:32:39 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:53:42 -0500 |
commit | 4e121c06adf53aae478ebce3035116595d063413 (patch) | |
tree | debfa36ad00bef15ca1d052e98a315eda665c2ee /mm/slab.h | |
parent | b6d08f0630d51ec09d67f16f6d7839699bbc0402 (diff) |
Btrfs: cleanup transaction on abort
If we abort not during a transaction commit we won't clean up anything until we
unmount. Unfortunately if we abort in the middle of writing out an ordered
extent we won't clean it up and if somebody is waiting on that ordered extent
they will wait forever. To fix this just make the transaction kthread call the
cleanup transaction stuff if it notices theres an error, and make
btrfs_end_transaction wake up the transaction kthread if there is an error.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions