From: Sargun Dhillon <sargun@sargun.me>
To: linux-btrfs@vger.kernel.org
Cc: dsterba@suse.cz, quwenruo@cn.fujitsu.com
Subject: [PATCH v2 0/2] btrfs: allow mechanism to override quota
Date: Thu, 11 May 2017 21:17:01 +0000 [thread overview]
Message-ID: <20170511211658.GA8401@ircssh-2.c.rugged-nimbus-611.internal> (raw)
This patchset makes it so that on a per-filesystem basis one can disable
quota enforcement for users with cap_sys_resource. This patchset can
likely later be extended to per-qgroup, or a per-volume basis. I'm
thinking of extending the sysfs interface to list the qgroups and
this same interface for the qgroups themselves.
Changes since v1:
-Rather than a separate member of btrfs_fs_info, use the existing
flags field
Sargun Dhillon (2):
btrfs: add quota override flag to enable quota override for
sys_resource
btrfs: Add quota_override knob into sysfs
fs/btrfs/ctree.h | 2 ++
fs/btrfs/qgroup.c | 5 +++++
fs/btrfs/sysfs.c | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
--
2.9.3
next reply other threads:[~2017-05-11 21:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 21:17 Sargun Dhillon [this message]
2017-05-11 21:17 ` [PATCH v2 1/2] btrfs: add quota override flag to enable quota override for sys_resource Sargun Dhillon
2017-05-11 21:18 ` [PATCH v2 2/2] btrfs: Add quota_override knob into sysfs Sargun Dhillon
2017-05-12 14:48 ` [PATCH v2 0/2] btrfs: allow mechanism to override quota David Sterba
2017-05-19 8:39 ` Sargun Dhillon
2017-05-19 13:26 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170511211658.GA8401@ircssh-2.c.rugged-nimbus-611.internal \
--to=sargun@sargun.me \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.