projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656e438
)
ceph: make sure request isn't in any waiting list when kicking request.
author
Yan, Zheng
<ukernel@gmail.com>
Thu, 11 Sep 2014 06:28:56 +0000
(14:28 +0800)
committer
Ilya Dryomov
<idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:24 +0000
(21:03 +0400)
we may corrupt waiting list if a request in the waiting list is kicked.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
fs/ceph/mds_client.c
patch
|
blob
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index 267ba4496dc8c9da7c0547fdd7a71266fca3dc61..a17fc49c9948ad5d454d448381733545e6b7a057 100644
(file)
--- a/
fs/ceph/mds_client.c
+++ b/
fs/ceph/mds_client.c
@@
-2078,6
+2078,7
@@
static void kick_requests(struct ceph_mds_client *mdsc, int mds)
if (req->r_session &&
req->r_session->s_mds == mds) {
dout(" kicking tid %llu\n", req->r_tid);
+ list_del_init(&req->r_wait);
__do_request(mdsc, req);
}
}