Sargun Dhillon
f29efe2921
btrfs: add quota override flag to enable quota override for CAP_SYS_RESOURCE
...
This patch introduces the quota override flag to btrfs_fs_info, and a
change to quota limit checking code to temporarily allow for quota to be
overridden for processes with CAP_SYS_RESOURCE.
It's useful for administrative programs, such as log rotation, that may
need to temporarily use more disk space in order to free up a greater
amount of overall disk space without yielding more disk space to the
rest of userland.
Eventually, we may want to add the idea of an operator-specific quota,
operator reserved space, or something else to allow for administrative
override, but this is perhaps the simplest solution.
Signed-off-by: Sargun Dhillon <sargun@sargun.me >
Reviewed-by: David Sterba <dsterba@suse.com >
[ minor changelog edits ]
Signed-off-by: David Sterba <dsterba@suse.com >
2017-06-19 18:25:58 +02:00
..
2017-04-18 14:07:25 +02:00
2016-09-22 10:55:32 +02:00
2017-01-09 11:24:50 +01:00
2016-12-13 11:01:30 -08:00
2017-04-18 14:07:25 +02:00
2015-01-14 19:23:47 +01:00
2017-04-26 16:27:26 +01:00
2017-06-19 18:25:57 +02:00
2016-12-06 16:06:59 +01:00
2017-04-18 14:07:24 +02:00
2017-02-28 14:26:36 +01:00
2017-05-10 08:33:17 -07:00
2017-06-19 18:25:58 +02:00
2016-07-26 13:52:25 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:26 +02:00
2017-02-28 14:26:07 +01:00
2017-06-09 12:48:07 -07:00
2017-06-19 18:25:58 +02:00
2017-04-18 14:07:23 +02:00
2017-02-14 15:50:51 +01:00
2017-05-16 15:42:10 +02:00
2017-04-27 14:13:09 -07:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-06-19 18:25:58 +02:00
2017-02-28 14:35:09 -08:00
2017-04-27 14:13:09 -07:00
2017-04-18 14:07:26 +02:00
2017-02-17 12:03:56 +01:00
2017-05-08 17:15:13 -07:00
2015-12-17 12:16:47 -08:00
2017-06-08 17:36:03 +08:00
2016-06-06 14:08:28 +02:00
2016-12-06 16:06:59 +01:00
2017-02-28 11:30:07 +01:00
2016-01-15 19:25:02 +01:00
2017-06-19 18:25:57 +02:00
2017-06-19 18:25:58 +02:00
2015-01-06 11:04:29 -08:00
2016-01-07 14:30:52 +01:00
2014-11-19 10:34:35 -08:00
2017-02-28 14:26:36 +01:00
2015-12-17 12:16:47 -08:00
2015-03-03 17:23:57 +01:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2014-09-17 13:37:12 -07:00
2016-12-06 16:06:59 +01:00
2016-12-06 16:06:59 +01:00
2017-02-14 15:50:51 +01:00
2014-01-28 13:20:24 -08:00
2017-06-19 18:25:58 +02:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:26 +02:00
2016-12-06 16:06:59 +01:00
2012-06-14 21:29:16 -04:00
2017-04-18 14:07:25 +02:00
2017-02-28 11:30:10 +01:00
2017-04-18 14:07:27 +02:00
2017-04-18 14:07:27 +02:00
2017-05-10 08:33:17 -07:00
2016-01-07 14:38:02 +01:00
2016-05-25 22:35:14 +02:00
2017-05-10 08:33:17 -07:00
2016-09-26 18:08:44 +02:00
2016-01-21 18:50:40 +01:00
2017-04-18 14:07:26 +02:00
2017-04-18 14:07:25 +02:00
2015-12-18 02:51:32 +00:00
2017-04-18 14:07:23 +02:00
2017-02-14 15:50:54 +01:00
2017-02-17 12:03:50 +01:00
2017-02-17 12:03:50 +01:00
2016-12-19 18:08:15 +01:00
2017-06-19 18:25:58 +02:00
2017-06-19 18:25:58 +02:00
2017-02-14 15:50:57 +01:00
2016-05-17 19:17:09 -04:00
2017-02-28 14:26:36 +01:00