On Fri, Apr 21, 2017 at 11:13:06PM +0000, Sargun Dhillon wrote: > This patch adds the read-write attribute quota_override into sysfs. > Any process which has cap_sys_resource can set this flag to on, and > once it is set to true, processes with cap_sys_resource can exceed > the quota.
So we've moved to the hardest part, where to put the sysfs file and how to name it. My first though was against putting it right under the filesystem UUID and rather introduce a directory with all tunables, but we already have a read-write label there. Ok then. The valid values are 0 and 1. And no locking is needed as fs_info::flags are updated atomically (once patch 1 is updated). -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html