diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-01-09 10:00:42 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-02-19 11:31:38 +0100 |
commit | 86d8f67b26a8b30228b5177b7e594bbc89798a23 (patch) | |
tree | 8d2c95e94f1718806d0aed91854394ec5cfabe5b /fs/logfs/gc.c | |
parent | ceph: avoid block operation when !TASK_RUNNING (ceph_get_caps) (diff) | |
download | linux-86d8f67b26a8b30228b5177b7e594bbc89798a23.tar.xz linux-86d8f67b26a8b30228b5177b7e594bbc89798a23.zip |
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: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/logfs/gc.c')
0 files changed, 0 insertions, 0 deletions