Re: PATCH] btrfs: Check transaction start

2009-03-30 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andi Kleen wrote: Jeff Mahoney je...@suse.com writes: wake_up_process(root-fs_info-cleaner_kthread); @@ -2197,10 +2199,12 @@ int btrfs_commit_super(struct btrfs_root btrfs_clean_old_snapshots(root);

PATCH] btrfs: Check transaction start

2009-02-11 Thread Jeff Mahoney
This patch changes start_transaction() to return an ERR_PTR instead of NULL. Things like I/O errors and allocation failures can be handled differently. It also checks every start_transaction call. Where the error can be handled simply, we clean up state and return an error. If the recovery