commit | c4d4a582c538e890f09c338bc3063c28dfdc9ae5 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Fri Jan 09 15:56:18 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 19 13:31:38 2015 +0300 |
tree | 2d6d7d75b857efcda89931866481057660dedaae | |
parent | d3383a8e37f802818cde4cb489bb0735db637cf0 [diff] |
ceph: avoid block operation when !TASK_RUNNING (ceph_get_caps) we should not do block operation in wait_event_interruptible()'s condition check function, but reading inline data can block. so move the read inline data code to ceph_get_caps() Signed-off-by: Yan, Zheng <zyan@redhat.com>