Skip to contentSkip to conversation

btrfs-progs: check: add experimental flag for lowmem mode

PATCH Applied David Disseldorp 3 participants 3 messages Jul 3, 2018 – Jul 4, 2018 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: check: add experimental flag for lowmem mode

The experimental flag is already carried in the manpage, but was removed from the btrfs check usage message as part of refactoring via 87c1bd13c1fca430c3dbf0da62e9aa33bde609c8. Add it back.

---
 check/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
check/main.c +1 -1
index 3190b5d4..9aca0c09 100644
@@ -9386,7 +9386,7 @@ const char * const cmd_check_usage[] = {
 	"                            original - read inodes and extents to memory (requires",
 	"                                       more memory, does less IO)",
 	"                            lowmem   - try to use less memory but read blocks again",
-	"                                       when needed",
+	"                                       when needed (experimental)",
 	"--check-data-csum           verify checksums of data blocks",
 	"-Q|--qgroup-report          print a report on qgroup consistency",
 	"-E|--subvol-extents <subvolid>",
Signature · 1 line
2.13.7
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · David Disseldorp

The experimental flag is already carried in the manpage, but was removed from the btrfs check usage message as part of refactoring via 87c1bd13c1fca430c3dbf0da62e9aa33bde609c8. Add it back.

Quoted 18 lines
---
  check/main.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
check/main.c +1 -1
index 3190b5d4..9aca0c09 100644
@@ -9386,7 +9386,7 @@ const char * const cmd_check_usage[] = {
  	"                            original - read inodes and extents to memory (requires",
  	"                                       more memory, does less IO)",
  	"                            lowmem   - try to use less memory but read blocks again",
-	"                                       when needed",
+	"                                       when needed (experimental)",
  	"--check-data-csum           verify checksums of data blocks",
  	"-Q|--qgroup-report          print a report on qgroup consistency",
  	"-E|--subvol-extents <subvolid>",