[PATCH 06/12 v3] Btrfs: improve log with sub transaction

2011-06-21 Thread Liu Bo
When logging an inode _A_, current btrfs will a) clear all items belonged to _A_ in log, b) copy all items belonged to _A_ from fs/file tree to log tree, and this just wastes a lot of time, especially when logging big files. So we want to use a smarter approach, i.e. find and merge. The amount of

Re: [PATCH 06/12 v3] Btrfs: improve log with sub transaction

2011-06-21 Thread Josef Bacik
On 06/21/2011 04:49 AM, Liu Bo wrote: When logging an inode _A_, current btrfs will a) clear all items belonged to _A_ in log, b) copy all items belonged to _A_ from fs/file tree to log tree, and this just wastes a lot of time, especially when logging big files. So we want to use a smarter