Btrfs: async delayed refs
authorChris Mason <clm@fb.com>
Thu, 22 May 2014 23:18:52 +0000 (16:18 -0700)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:58 +0000 (17:20 -0700)
commita79b7d4b3e8118f265dcb4bdf9a572c392f02708
treea7b4792e01ea5a44467f053e1822d4240e70edc6
parent40f765805f082ed679c55bf6ab60212e55fb6fc1
Btrfs: async delayed refs

Delayed extent operations are triggered during transaction commits.
The goal is to queue up a healthly batch of changes to the extent
allocation tree and run through them in bulk.

This farms them off to async helper threads.  The goal is to have the
bulk of the delayed operations being done in the background, but this is
also important to limit our stack footprint.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/transaction.c