Btrfs: cleanup extents after we finish logging inode
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 27 Aug 2012 16:52:19 +0000 (10:52 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:04 +0000 (15:19 -0400)
commit06d3d22b456c2f87aeb1eb4517eeabb47e21fcc9
treee9bc061c8902fc555430dbad2a64e35ea8d286ba
parent0fa83cdb1d72a94ea84ab6380747de6ac7cc8753
Btrfs: cleanup extents after we finish logging inode

This is based on Josef's "Btrfs: turbo charge fsync".

We should cleanup those extents after we've finished logging inode,
otherwise we may do redundant work on them.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
fs/btrfs/tree-log.c