]> 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)
commit7cfdfbc17daa9fc23cad185be079b8f36350a03a
treea7b4792e01ea5a44467f053e1822d4240e70edc6
parente8a5c2e49929c1699d88a089f7c9c04c1fb6e6a5
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