aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-02-20 18:08:57 +0800
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:16:44 -0400
commit50471a388cf011523f3bf91d275ec3f30669f0ee (patch)
tree976e7e9b2a40fe2f81e0a8a6b943368ac2810005 /fs/btrfs/super.c
parentBtrfs: just wait or commit our own log sub-transaction (diff)
downloadlinux-dev-50471a388cf011523f3bf91d275ec3f30669f0ee.tar.xz
linux-dev-50471a388cf011523f3bf91d275ec3f30669f0ee.zip
Btrfs: stop joining the log transaction if sync log fails
If the log sync fails, there is something wrong in the log tree, we should not continue to join the log transaction and log the metadata. What we should do is to do a full commit. This patch fixes this problem by setting ->last_trans_log_full_commit to the current transaction id, it will tell the tasks not to join the log transaction, and do a full commit. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions