ceph: avoid block operation when !TASK_RUNNING (ceph_mdsc_close_sessions)
authorYan, Zheng <zyan@redhat.com>
Fri, 9 Jan 2015 09:00:42 +0000 (17:00 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:38 +0000 (13:31 +0300)
use an atomic variable to track number of sessions, this can avoid block
operation inside wait loops.

Signed-off-by: Yan, Zheng <zyan@redhat.com>

No differences found