]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6839ef61419601aa67993e8134f1813f91d4104c
treea7b4792e01ea5a44467f053e1822d4240e70edc6
parentc2fa8da5832ce6f2ae25b55900f4e06dce986e77
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