From: Sargun Dhillon <sargun@sargun.me>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: allow processes with exceed quota with override
Date: Fri, 21 Apr 2017 23:12:34 +0000 [thread overview]
Message-ID: <20170421231232.GA3769@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.
Sargun Dhillon (2):
btrfs: add quota override attribute
btrfs: Add quota_override knob into sysfs
fs/btrfs/ctree.h | 3 +++
fs/btrfs/qgroup.c | 9 +++++++--
fs/btrfs/sysfs.c | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 2 deletions(-)
--
2.9.3
next reply other threads:[~2017-04-21 23:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 23:12 Sargun Dhillon [this message]
2017-04-21 23:12 ` [PATCH 1/2] btrfs: add quota override attribute Sargun Dhillon
2017-04-24 3:42 ` Qu Wenruo
2017-04-24 4:48 ` Sargun Dhillon
2017-04-24 5:19 ` Qu Wenruo
2017-05-05 18:41 ` David Sterba
2017-05-05 18:50 ` David Sterba
2017-04-21 23:13 ` [PATCH 2/2] btrfs: Add quota_override knob into sysfs Sargun Dhillon
2017-05-05 19:09 ` 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=20170421231232.GA3769@ircssh-2.c.rugged-nimbus-611.internal \
--to=sargun@sargun.me \
--cc=linux-btrfs@vger.kernel.org \
/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 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).