linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: allow processes with exceed quota with override
@ 2017-04-21 23:12 Sargun Dhillon
  2017-04-21 23:12 ` [PATCH 1/2] btrfs: add quota override attribute Sargun Dhillon
  2017-04-21 23:13 ` [PATCH 2/2] btrfs: Add quota_override knob into sysfs Sargun Dhillon
  0 siblings, 2 replies; 9+ messages in thread
From: Sargun Dhillon @ 2017-04-21 23:12 UTC (permalink / raw)
  To: linux-btrfs

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


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

end of thread, other threads:[~2017-05-05 19:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-21 23:12 [PATCH 0/2] btrfs: allow processes with exceed quota with override Sargun Dhillon
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

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).