All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Update btrfs Kconfig
@ 2025-05-06 11:04 David Sterba
  2025-05-06 11:04 ` [PATCH 1/2] btrfs: update list of features built under experimental config David Sterba
  2025-05-06 11:04 ` [PATCH 2/2] btrfs: update Kconfig option descriptions David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: David Sterba @ 2025-05-06 11:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Update outdated information, expand option descriptions.

David Sterba (2):
  btrfs: update list of features built under experimental config
  btrfs: update Kconfig option descriptions

 fs/btrfs/Kconfig | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] btrfs: update list of features built under experimental config
  2025-05-06 11:04 [PATCH 0/2] Update btrfs Kconfig David Sterba
@ 2025-05-06 11:04 ` David Sterba
  2025-05-06 11:04 ` [PATCH 2/2] btrfs: update Kconfig option descriptions David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2025-05-06 11:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

The list is out of date, the extent shrinker got fixed in 6.13. Add new
entries: the COW fixup warning in 6.15, rund robin policies in 6.14.

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/Kconfig | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index 98fa7650a1c20f..d3e85b373344e0 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -90,7 +90,14 @@ config BTRFS_EXPERIMENTAL
 
 	  Current list:
 
-	  - extent map shrinker - performance problems with too frequent shrinks
+	  - COW fixup worker warning - last warning before removing the
+				       functionality catching out-of-band page
+				       dirtying, not necessary since 5.8
+
+	  - RAID mirror read policy - additional read policies for balancing
+				      reading from redundant block group
+				      profiles (currently: pid, round-robin,
+				      fixed devid)
 
 	  - send stream protocol v3 - fs-verity support
 
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] btrfs: update Kconfig option descriptions
  2025-05-06 11:04 [PATCH 0/2] Update btrfs Kconfig David Sterba
  2025-05-06 11:04 ` [PATCH 1/2] btrfs: update list of features built under experimental config David Sterba
@ 2025-05-06 11:04 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2025-05-06 11:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Expand what the options do and if they are OK to be enabled.

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/Kconfig | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index d3e85b373344e0..3a4112a3bea2ea 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -53,10 +53,10 @@ config BTRFS_FS_RUN_SANITY_TESTS
 	bool "Btrfs will run sanity tests upon loading"
 	depends on BTRFS_FS
 	help
-	  This will run some basic sanity tests on the free space cache
-	  code to make sure it is acting as it should.  These are mostly
-	  regression tests and are only really interesting to btrfs
-	  developers.
+	  This will run sanity tests for core functionality like free space,
+	  extent maps, extent io, extent buffers, inodes, qgroups and others,
+	  at module load time.  These are mostly regression tests and are only
+	  interesting to developers.
 
 	  If unsure, say N.
 
@@ -64,9 +64,12 @@ config BTRFS_DEBUG
 	bool "Btrfs debugging support"
 	depends on BTRFS_FS
 	help
-	  Enable run-time debugging support for the btrfs filesystem. This may
-	  enable additional and expensive checks with negative impact on
-	  performance, or export extra information via sysfs.
+	  Enable run-time debugging support for the btrfs filesystem.
+
+	  Additional potentially expensive checks, debugging functionality or
+	  sysfs exported information is enabled, like leak checks of internal
+	  objects, optional forced space fragmentation and /sys/fs/btrfs/debug .
+	  This has negative impact on performance.
 
 	  If unsure, say N.
 
@@ -74,8 +77,10 @@ config BTRFS_ASSERT
 	bool "Btrfs assert support"
 	depends on BTRFS_FS
 	help
-	  Enable run-time assertion checking.  This will result in panics if
-	  any of the assertions trip.  This is meant for btrfs developers only.
+	  Enable run-time assertion checking. Additional safety checks are
+	  done, simple enough not to affect performance but verify invariants
+	  and assumptions of code to run properly. This may result in panics,
+	  and is meant for developers but can be enabled in general.
 
 	  If unsure, say N.
 
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-06 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 11:04 [PATCH 0/2] Update btrfs Kconfig David Sterba
2025-05-06 11:04 ` [PATCH 1/2] btrfs: update list of features built under experimental config David Sterba
2025-05-06 11:04 ` [PATCH 2/2] btrfs: update Kconfig option descriptions David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.