diff options
| author | Andre Noll <maan@tuebingen.mpg.de> | 2017-11-11 06:16:51 +0100 |
|---|---|---|
| committer | Andre Noll <maan@tuebingen.mpg.de> | 2017-11-13 17:21:57 +0100 |
| commit | 404aae666e5f8d7ce511639cbe4727a7f2e690cc (patch) | |
| tree | f1e4348faa2238ad6ee73f983d0846f552548186 | |
| parent | 965855384d34b7f1c4730eb78f26d010adb9be42 (diff) | |
Fix snapshot removal reason.maint
If the oldest snapshot has to be removed because disk space is low,
we currently log "orphaned" as the reason, which is incorrect.
| -rw-r--r-- | dss.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -637,6 +637,7 @@ static int try_to_free_disk_space(void) if (!low_disk_space) goto out; DSS_WARNING_LOG(("disk space low and nothing obvious to remove\n")); + why = "oldest"; victim = find_oldest_removable_snapshot(&sl); if (victim) goto remove; |
