All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: docs: update the stability and performance status of quota
@ 2020-08-06  7:29 Qu Wenruo
  2020-08-06 14:12 ` Neal Gompa
  2020-08-06 17:47 ` Goffredo Baroncelli
  0 siblings, 2 replies; 4+ messages in thread
From: Qu Wenruo @ 2020-08-06  7:29 UTC (permalink / raw)
  To: linux-btrfs

There are a lot of enhancement to btrfs quota through v5.x releases.

Now btrfs quota is more stable than it used to be.

So update the man page to relect this.

Signed-off-by: Qu Wenruo <wqu@suse.com>
---
 Documentation/btrfs-quota.asciidoc | 43 +++++++++++++++++++++++++-----
 1 file changed, 37 insertions(+), 6 deletions(-)

diff --git a/Documentation/btrfs-quota.asciidoc b/Documentation/btrfs-quota.asciidoc
index 85ebf729c2fa..1c032f11d001 100644
--- a/Documentation/btrfs-quota.asciidoc
+++ b/Documentation/btrfs-quota.asciidoc
@@ -23,16 +23,47 @@ PERFORMANCE IMPLICATIONS
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
 When quotas are activated, they affect all extent processing, which takes a
-performance hit. Activation of qgroups is not recommended unless the user
-intends to actually use them.
+performance hit.
+
+Under most cases, the performance hit should be more or less acceptable for
+root fs usage.
+
+There used to be a huge performance hit for balance with quota enabled.
+That problem is solved since v5.4 kernel.
 
 STABILITY STATUS
 ~~~~~~~~~~~~~~~~
 
-The qgroup implementation has turned out to be quite difficult as it affects
-the core of the filesystem operation. Qgroup users have hit various corner cases
-over time, such as incorrect accounting or system instability. The situation is
-gradually improving and issues found and fixed.
+Btrfs quota has different stablity for different functionality:
+
+Extent accounting
+^^^^^^^^^^^^^^^^^
+
+Pretty stable, there aren't many bugs (if any) affecting the extent accounting
+through v5.x release cycles.
+
+Thus if users just want referenced/exclusive usage of each subvolume, it
+should be safe to use.
+
+Limit
+^^^^^
+
+Should be near stable since v5.9.
+
+There used to be some bugs causing early EDQUOT errors before v5.9.
+But v5.9 should solve them quite well, along with extra safe nets catching any
+reserved space leakage.
+
+Corner cases and small fixes may pop up time by time, but the core limit
+functionality should be in good shape since v5.9.
+
+Multi-level qgroups
+^^^^^^^^^^^^^^^^^^^
+
+Needs more testing. Although the core extent accounting should also work well
+for higher level qgroups, we don't have good enough test coverage yet.
+
+Thus extra testing and bug reports are welcomed.
 
 HIERARCHICAL QUOTA GROUP CONCEPTS
 ---------------------------------
-- 
2.28.0


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

end of thread, other threads:[~2020-08-06 23:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06  7:29 [PATCH] btrfs-progs: docs: update the stability and performance status of quota Qu Wenruo
2020-08-06 14:12 ` Neal Gompa
2020-08-06 17:47 ` Goffredo Baroncelli
2020-08-06 23:31   ` Qu Wenruo

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.