aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2019-07-19 15:22:28 -0400
committerIlya Dryomov <[email protected]>2019-09-16 12:06:24 +0200
commit533a2818dd1a00cdd32d638fea0178e25a683053 (patch)
tree17865c460392d46480ccc1cbb09b0f828f6447c7 /scripts/gdb/linux/utils.py
parent606d102327a45a49d293557527802ee7fbfd7af1 (diff)
ceph: eliminate session->s_trim_caps
It's only used to keep count of caps being trimmed, but that requires that we hold the session->s_mutex to prevent multiple trimming operations from running concurrently. We can achieve the same effect using an integer on the stack, which allows us to (eventually) not need the s_mutex. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions