Searched hist:50471 (Results 1 - 1 of 1) sorted by relevance

/linux-master/fs/btrfs/
H A Dtree-log.cdiff 50471a38 Thu Feb 20 03:08:57 MST 2014 Miao Xie <miaox@cn.fujitsu.com> 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>

Completed in 448 milliseconds