ceph: revert commit 22cddde104
commit 22cddde104
breaks the atomicity of write operation, it also
introduces a deadlock between write and truncate.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Conflicts:
fs/ceph/addr.c
This commit is contained in:
@@ -1916,6 +1916,7 @@ static void __wake_requests(struct ceph_mds_client *mdsc,
|
||||
req = list_entry(tmp_list.next,
|
||||
struct ceph_mds_request, r_wait);
|
||||
list_del_init(&req->r_wait);
|
||||
dout(" wake request %p tid %llu\n", req, req->r_tid);
|
||||
__do_request(mdsc, req);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user