Skip to content
Commit 86d8f67b authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov
Browse files

ceph: avoid block operation when !TASK_RUNNING (ceph_mdsc_close_sessions)



use an atomic variable to track number of sessions, this can avoid block
operation inside wait loops.

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent c4d4a582
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment