From 75c2d859495ab1fdd5a9e1ef5c825b02c580fc13 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Mon, 8 Apr 2024 09:02:37 +0200 Subject: [PATCH] - avoid excessive logging --- LIBVERSION | 2 +- package/snapper.changes | 5 +++++ snapper/BtrfsUtils.cc | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/LIBVERSION b/LIBVERSION index 815da58b..f8cb1fa1 100644 --- a/LIBVERSION +++ b/LIBVERSION @@ -1 +1 @@ -7.4.1 +7.4.2 diff --git a/package/snapper.changes b/package/snapper.changes index 025f6ea8..853b535a 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 08 08:54:07 CEST 2024 - aschnell@suse.com + +- avoid excessive logging (gh#openSUSE/snapper#892) + ------------------------------------------------------------------- Thu Mar 21 10:46:08 CET 2024 - aschnell@suse.com diff --git a/snapper/BtrfsUtils.cc b/snapper/BtrfsUtils.cc index 2ff0fffd..6d69ad2f 100644 --- a/snapper/BtrfsUtils.cc +++ b/snapper/BtrfsUtils.cc @@ -473,6 +473,8 @@ namespace snapper { y2war("waiting for old quota rescan to finish"); + sleep(1); // avoid excessive logging (gh#openSUSE/snapper#892) + if (ioctl(fd, BTRFS_IOC_QUOTA_RESCAN_WAIT, &args) < 0) throw runtime_error_with_errno("ioctl(BTRFS_IOC_QUOTA_WAIT_RESCAN) failed", errno);