diff options
author | Luis Henriques <[email protected]> | 2018-01-12 17:19:29 +0000 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2018-04-02 11:17:53 +0200 |
commit | d557c48db730eaab6b75d4af332c135309b7a6a4 (patch) | |
tree | 74b28856b9052a36b588d9baf77b5781f8479c97 /scripts/gdb/linux/symbols.py | |
parent | e3161f17d92699ce6ca3b7988131b10ad4035cf9 (diff) |
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 <[email protected]>
Reviewed-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions