]> git.tuebingen.mpg.de Git - dss.git/commit - dss.c
Remove orphaned snapshots first if disk space is low.
authorAndre Noll <maan@systemlinux.org>
Fri, 29 May 2009 20:09:06 +0000 (22:09 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 29 May 2009 20:09:06 +0000 (22:09 +0200)
commit0cea2bfa14a7641e6e8e88c177cdb3d10099596d
treee839e13c03ab8adedd16ed4b0202cd24eb57471b
parent9967e30b97ef5fb90f31ceb06ac34b974e1788a8
Remove orphaned snapshots first if disk space is low.

If the dss process gets killed, an orphaned snapshot might result.
Detect this case and prefer to remove such orphaned snapshots before
resorting to remove the oldest snapshot.
dss.c
snap.h