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:
a01a984
)
[net/9p] Don't re-pin pages on retrying virtqueue_add_buf().
author
Venkateswararao Jujjuri (JV)
<
[email protected]
>
Mon, 14 Mar 2011 21:22:41 +0000
(14:22 -0700)
committer
Eric Van Hensbergen
<
[email protected]
>
Tue, 22 Mar 2011 21:32:48 +0000
(16:32 -0500)
Signed-off-by: Venkateswararao Jujjuri <
[email protected]
>
Signed-off-by: Eric Van Hensbergen <
[email protected]
>
net/9p/trans_virtio.c
patch
|
blob
|
history
diff --git
a/net/9p/trans_virtio.c
b/net/9p/trans_virtio.c
index cb98af9367ab356e0299f5e1c89123741628e19f..c6e1ae2fb9268a3788570065ff49a9dd23014f22 100644
(file)
--- a/
net/9p/trans_virtio.c
+++ b/
net/9p/trans_virtio.c
@@
-262,7
+262,6
@@
p9_virtio_request(struct p9_client *client, struct p9_req_t *req)
P9_DPRINTK(P9_DEBUG_TRANS, "9p debug: virtio request\n");
-req_retry:
req->status = REQ_STATUS_SENT;
if (req->tc->pbuf_size && (req->tc->pubuf && P9_IS_USER_CONTEXT)) {
@@
-295,6
+294,7
@@
req_retry:
}
}
+req_retry_pinned:
spin_lock_irqsave(&chan->lock, flags);
/* Handle out VirtIO ring buffers */
@@
-355,7
+355,7
@@
req_retry:
return err;
P9_DPRINTK(P9_DEBUG_TRANS, "9p:Retry virtio request\n");
- goto req_retry;
+ goto req_retry
_pinned
;
} else {
spin_unlock_irqrestore(&chan->lock, flags);
P9_DPRINTK(P9_DEBUG_TRANS,