]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: make SNAP_DESTROY async
authorSage Weil <sage@newdream.net>
Fri, 29 Oct 2010 19:41:32 +0000 (15:41 -0400)
committerChris Mason <chris.mason@oracle.com>
Sat, 30 Oct 2010 01:42:10 +0000 (21:42 -0400)
commitb1124ed3b06c87a7cb9b0629870115785e9f9115
tree6b421ac1ddf7cad271cd0c767f0c19e6c4f826df
parent444729cda75a1048c00f14f525e5983bbd3cbb3a
Btrfs: make SNAP_DESTROY async

There is no reason to force an immediate commit when deleting a snapshot.
Users have some expectation that space from a deleted snapshot be freed
immediately, but even if we do commit the reclaim is a background process.

If users _do_ want the deletion to be durable, they can call 'sync'.

Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c