Displaying 1 result from an estimated 1 matches for "blk_send_response_on".
Did you mean:
blk_send_response_one
2012 May 14
1
[PATCH, v2] qemu/xendisk: properly update stats in ioreq_release()
...blkdev->requests_finished--;
+ } else {
+ blkdev->requests_inflight--;
+ }
}
/*
@@ -449,7 +453,7 @@ static void blk_send_response_all(struct
while (!QLIST_EMPTY(&blkdev->finished)) {
ioreq = QLIST_FIRST(&blkdev->finished);
send_notify += blk_send_response_one(ioreq);
- ioreq_release(ioreq);
+ ioreq_release(ioreq, true);
}
if (send_notify) {
xen_be_send_notify(&blkdev->xendev);
@@ -505,7 +509,7 @@ static void blk_handle_requests(struct X
if (blk_send_response_one(ioreq)) {
xen_be_send...