From: Wang Shilong <wangsl.fnst@xxxxxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
