From: Arvin Schnell Date: Thu, 18 Apr 2024 14:21:24 +0000 (+0200) Subject: - added note X-Git-Tag: v0.11.0~2^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8f03bc0c21202a205597ea190ed7ff5b043ee6aa;p=thirdparty%2Fsnapper.git - added note --- diff --git a/client/systemd-helper.cc b/client/systemd-helper.cc index 12751c94..8f36e5c1 100644 --- a/client/systemd-helper.cc +++ b/client/systemd-helper.cc @@ -183,7 +183,13 @@ cleanup(ProxySnappers* snappers) SystemCmd cmd({ BTRFS_BIN, "qgroup", "clear-stale", subvolume }); if (cmd.retcode() != 0) + { + // This fails more often than not since qgroups of just deleted + // subvolume are busy. So do not set an error code here. Still log the + // failure to help people understand this stuff. + cerr << "'btrfs qgroup clear-stale " << subvolume << "' failed." << endl; + } } } }