commit | d3383a8e37f802818cde4cb489bb0735db637cf0 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Jan 08 21:30:12 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 19 13:31:38 2015 +0300 |
tree | d4c662fa1a495440c7e6f5e9c851e2562287f930 | |
parent | 73e39e4dba828fe1affefe6290456623319707bd [diff] |
ceph: avoid block operation when !TASK_RUNNING (ceph_mdsc_sync) check_cap_flush() calls mutex_lock(), which may block. So we can't use it as condition check function for wait_event(); Signed-off-by: Yan, Zheng <zyan@redhat.com>