linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] remove exclusive size from btrfs qgroup
@ 2013-11-02 15:14 Wang Shilong
  2013-11-02 15:14 ` [RFC PATCH 1/2] Btrfs: disable qgroup's exclusive size tracking Wang Shilong
  2013-11-02 15:14 ` [RFC PATCH 2/2] Btrfs: remove subvolume qgroup automatically with qgroup enabled Wang Shilong
  0 siblings, 2 replies; 3+ messages in thread
From: Wang Shilong @ 2013-11-02 15:14 UTC (permalink / raw)
  To: linux-btrfs; +Cc: sensille, list.btrfs, wangsl.fnst

From: Wang Shilong <wangsl.fnst@cn.fujitsu.com>

Btrfs qgroup gives us an important feature to know a subvolume's
sole size, however, it brings some problems.

Especially, we can not make qgroup's exclusive size correct when
deleting subvolumes(we haven't found an effective way at least).

Another big problem, some users complain with qgroup enabled, system
memory cost become high.

So i am always thinking that why not implemnt it in a more simple and
direct way, we just keep qgroup's rferenced size, this will make life
simple and easy.

This is only a RFC patch, we need more discussion, and patch itself
need more testing and cleanup work.

Any comments are welcome!

Wang Shilong (2):
  Btrfs: disable qgroup's exclusive size tracking
  Btrfs: remove subvolume qgroup automatically with qgroup enabled

 fs/btrfs/ctree.h  |   2 +
 fs/btrfs/ioctl.c  |   5 +-
 fs/btrfs/qgroup.c | 330 ++++++++++++++++--------------------------------------
 3 files changed, 101 insertions(+), 236 deletions(-)

-- 
1.7.11.7


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

end of thread, other threads:[~2013-11-02 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-02 15:14 [RFC PATCH 0/2] remove exclusive size from btrfs qgroup Wang Shilong
2013-11-02 15:14 ` [RFC PATCH 1/2] Btrfs: disable qgroup's exclusive size tracking Wang Shilong
2013-11-02 15:14 ` [RFC PATCH 2/2] Btrfs: remove subvolume qgroup automatically with qgroup enabled Wang Shilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).