Patch 1-5 can make balance process bail out gracefully after we get into readonly by aborting transaction.
Patch 6 addresses a hang when we have two or more trans handle aborted and committed themselves. Liu Bo (6): Btrfs: check for NULL pointer in updating reloc roots Btrfs: build up error handling for merge_reloc_roots Btrfs: free all recorded tree blocks on error Btrfs: do not BUG_ON in prepare_to_reloc Btrfs: do not BUG_ON on aborted situation Btrfs: avoid deadlock on transaction waiting list fs/btrfs/relocation.c | 74 +++++++++++++++++++++++++++++++++++++----------- fs/btrfs/transaction.c | 7 ++++ fs/btrfs/volumes.c | 9 ++++- 3 files changed, 71 insertions(+), 19 deletions(-) -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html