Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upservices.btrfs.autoScrub: running scrub prevents system suspend #79086
Labels
Comments
|
The service probably needs |
|
The issue still appears with a 5.4 kernel. |
symphorien
added a commit
to symphorien/nixpkgs
that referenced
this issue
Feb 14, 2020
Fixes: NixOS#79086 NixOS#79017
dtzWill
added a commit
to dtzWill/nixpkgs
that referenced
this issue
Mar 13, 2020
Fixes: NixOS#79086 NixOS#79017 (cherry picked from commit 5359d90)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When the filesystem scrubbing service configured via
services.btrfs.autoScrubis running, the system cannot suspend until the scrubbing is completed.To Reproduce
Steps to reproduce the behavior:
systemctl start btrfs-scrub-.servicesystemctl suspendExpected behavior
The scrub should be paused properly when the system suspends.
More context
It's likely that this is an upstream bug. I'll ask around on the btrfs mailing list and will update this issue accordingly.
Metadata
"x86_64-linux"Linux 4.19.98, NixOS, 19.09.1970.6d9a4a615ee (Loris)yesyesnix-env (Nix) 2.3.2"home-manager-19.09, nixos-19.09.1970.6d9a4a615ee, nixos-unstable-20.03pre210639.e59dcf8ccec""home-manager-19.09"/nix/var/nix/profiles/per-user/root/channels/nixosMaintainer information: