mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ceph: fix osd request lru adjustment when sending request
Fix argument order. We want to move the item to the end of the list, not change the position of the head. Signed-off-by: Henry C Chang <[email protected]> Signed-off-by: Sage Weil <[email protected]>
This commit is contained in:
parent
124514918b
commit
07a27e226d
1 changed files with 1 additions and 1 deletions
|
|
@ -661,7 +661,7 @@ static int __send_request(struct ceph_osd_client *osdc,
|
|||
reqhead->reassert_version = req->r_reassert_version;
|
||||
|
||||
req->r_stamp = jiffies;
|
||||
list_move_tail(&osdc->req_lru, &req->r_req_lru_item);
|
||||
list_move_tail(&req->r_req_lru_item, &osdc->req_lru);
|
||||
|
||||
ceph_msg_get(req->r_request); /* send consumes a ref */
|
||||
ceph_con_send(&req->r_osd->o_con, req->r_request);
|
||||
|
|
|
|||
Loading…
Reference in a new issue