[Sheepdog] [PATCH 1/2] sheep: fix vdi operation order
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Oct 26 11:47:15 CEST 2011
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
sheep/group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sheep/group.c b/sheep/group.c
index 7d5064b..52eb6b5 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -172,7 +172,7 @@ void cluster_queue_request(struct work *work, int idx)
msg->req = *((struct sd_vdi_req *)&req->rq);
msg->rsp = *((struct sd_vdi_rsp *)&req->rp);
- list_add(&req->pending_list, &sys->pending_list);
+ list_add_tail(&req->pending_list, &sys->pending_list);
if (has_process_work(req->op))
sys->cdrv->notify(msg, size, do_cluster_op);
--
1.7.2.5
More information about the sheepdog
mailing list