From: Chris Mason Date: Thu, 12 Feb 2009 14:45:08 +0000 (-0500) Subject: Btrfs: don't clean old snapshots on sync(1) X-Git-Tag: v2.6.29-rc6~79^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1df36d2f18254d0690a0fbe036cece74ec311b8;p=pandora-kernel.git Btrfs: don't clean old snapshots on sync(1) Cleaning old snapshots can make sync(1) somewhat slow, and some users and applications still use it in a global fsync kind of workload. This patch changes btrfs not to clean old snapshots during sync, which is safe from a FS consistency point of view. The major downside is that it makes it difficult to tell when old snapshots have been reaped and the space they were using has been reclaimed. A new ioctl will be added for this purpose instead. Signed-off-by: Chris Mason --- Reading git-diff-tree failed