Skip to content

Commit

Permalink
- avoid excessive logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed Apr 8, 2024
1 parent f7a1f9a commit 75c2d85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LIBVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.1
7.4.2
5 changes: 5 additions & 0 deletions package/snapper.changes
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions snapper/BtrfsUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 75c2d85

Please sign in to comment.