]> git.tuebingen.mpg.de Git - dss.git/commit - snap.h
Try harder to avoid removing the reference snapshot.
authorAndre Noll <maan@systemlinux.org>
Mon, 29 Jun 2009 09:36:25 +0000 (11:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 29 Jun 2009 09:36:25 +0000 (11:36 +0200)
commita0f94cd06ebb0c5967f564d9c52411cbd5347c0e
treee21bba457e491dc94ee47c3f012c2f792b415033
parent0f690a04483ee9833f371a4a807b6897e9e3d9d8
Try harder to avoid removing the reference snapshot.

With the old code, it was possible that dss decided to remove the
snapshot which is currently being used as the hardlink directory for
the current rsync process. This patch changes the behaviour so that
reference snapshots are never removed.

The downside of this approach is of course that it is now easier to
fill up the disk..
dss.c
snap.h