]> Git Repo - linux.git/commit - fs/btrfs/ctree.h
Btrfs: Do snapshot deletion in smaller chunks.
authorChris Mason <[email protected]>
Tue, 7 Aug 2007 19:52:19 +0000 (15:52 -0400)
committerDavid Woodhouse <[email protected]>
Tue, 7 Aug 2007 19:52:19 +0000 (15:52 -0400)
commit9f3a742736cecda5a8778be70faa2f779458839f
tree500ef3701521e63254dbe82e5c71e7ccff746275
parent8578f0f1fda41f8429a1037022b720275102ca65
Btrfs: Do snapshot deletion in smaller chunks.

Before, snapshot deletion was a single atomic unit.  This caused considerable
lock contention and required an unbounded amount of space.  Now,
the drop_progress field in the root item is used to indicate how far along
snapshot deletion is, and to resume where it left off.

Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c
This page took 0.047924 seconds and 4 git commands to generate.