]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Btrfs: try to cleanup delayed refs while freeing extents
authorChris Mason <chris.mason@oracle.com>
Fri, 13 Mar 2009 14:11:24 +0000 (10:11 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 24 Mar 2009 20:14:26 +0000 (16:14 -0400)
commit1887be66dcc3140a81d1299958a41fc0eedfa64f
tree3f0666948a83c48c77e0c37dca1c71a6aff9eb1d
parent44871b1b24b593996db43495cf4484cc580bdc10
Btrfs: try to cleanup delayed refs while freeing extents

When extents are freed, it is likely that we've removed the last
delayed reference update for the extent.  This checks the delayed
ref tree when things are freed, and if no ref updates area left it
immediately processes the delayed ref.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c