[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: file-systems: Prefer low-memory mode of ‘btrfs check’.
From: |
guix-commits |
Subject: |
07/07: file-systems: Prefer low-memory mode of ‘btrfs check’. |
Date: |
Tue, 28 Sep 2021 16:12:08 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit e91c9ce32e6fa3a4759d83a0d7ae7d49d813668d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 28 21:50:16 2021 +0200
file-systems: Prefer low-memory mode of ‘btrfs check’.
* gnu/build/file-systems.scm (check-btrfs-file-system):
Add ‘--mode lowmem’ arguments when supported.
Reported by Noisytoot on #guix.
---
gnu/build/file-systems.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 2a4dcd4..d8a5ddf 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -336,7 +336,10 @@ fix only those considered safe to repair automatically."
;; Upstream considers ALL repairs dangerous
;; and will warn the user at run time.
(#t '("--repair"))
- (_ '("--readonly"))) ; a no-op for clarity
+ (_ '("--readonly" ; a no-op for clarity
+ ;; A 466G file system with 180G used
is
+ ;; enough to kill btrfs with 6G of
RAM.
+ "--mode" "lowmem")))
,device)))
(0 'pass)
(_ 'fatal-error))
- branch master updated (87178ed -> e91c9ce), guix-commits, 2021/09/28
- 02/07: tests: go: Fix typo., guix-commits, 2021/09/28
- 03/07: import: minetest: Fix typos., guix-commits, 2021/09/28
- 01/07: doc: Fix typos., guix-commits, 2021/09/28
- 04/07: gnu: r-simplifyenrichment: Fix typo in description., guix-commits, 2021/09/28
- 05/07: gnu: crm114: Fix typo in description., guix-commits, 2021/09/28
- 06/07: test: lint: Fix ‘haskell-stackage’ test., guix-commits, 2021/09/28
- 07/07: file-systems: Prefer low-memory mode of ‘btrfs check’.,
guix-commits <=