summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorLuis Henriques <lhenriques@suse.com>2018-01-12 18:19:29 +0100
committerIlya Dryomov <idryomov@gmail.com>2018-04-02 11:17:53 +0200
commitd557c48db730eaab6b75d4af332c135309b7a6a4 (patch)
tree74b28856b9052a36b588d9baf77b5781f8479c97 /fs/efivarfs
parentceph: quota: cache inode pointer in ceph_snap_realm (diff)
downloadlinux-d557c48db730eaab6b75d4af332c135309b7a6a4.tar.xz
linux-d557c48db730eaab6b75d4af332c135309b7a6a4.zip
ceph: quota: add counter for snaprealms with quota
By keeping a counter with the number of snaprealms that have quota set allows to optimize the functions that need to walk throught the realms hierarchy looking for quotas. Thus, if this counter is zero it's safe to assume that there are no realms with quota. Signed-off-by: Luis Henriques <lhenriques@suse.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions