]> git.tuebingen.mpg.de Git - dss.git/commit - dss.c
Introduce snapshot recycling.
authorAndre Noll <maan@systemlinux.org>
Fri, 14 May 2010 12:43:51 +0000 (14:43 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 6 Nov 2010 11:30:40 +0000 (12:30 +0100)
commit379ec51fd7e1a4a7fa7fd8cbc091ebccf8a70486
treee282454acf72a4f221987d6632fb985dc4dfebc7
parent5b0aed51e5541996accdfc6f62501b515dcdb35c
Introduce snapshot recycling.

When snapshotting large file systems whose contents do not change much between
snapshots, we end up removing large amounts of files just to recreate (hard
links to) most of them afterwards. This patch changes snapshot creation so that
outdated, redundant and orphaned snapshots are reused as the basis for new
snapshots. Only if no existing snapshot is suitable for recycling, a new one is
created.
dss.c