Re: [PATCH] Btrfs: avoid heavy operations in btrfs_commit_super

2013-11-04 Thread Stefan Behrens
On Sun, 3 Nov 2013 23:24:34 +0800, Liu Bo wrote: The 'git blame' history shows that, the old transaction commit code has to do twice to ensure roots are updated and we have to flush metadata and super block manually, however, right now all of these can be handled well inside the transaction

Re: [PATCH] Btrfs: avoid heavy operations in btrfs_commit_super

2013-11-04 Thread Liu Bo
On Mon, Nov 04, 2013 at 09:49:59AM +0100, Stefan Behrens wrote: On Sun, 3 Nov 2013 23:24:34 +0800, Liu Bo wrote: The 'git blame' history shows that, the old transaction commit code has to do twice to ensure roots are updated and we have to flush metadata and super block manually,