commit | 52f44e0d08ff1a065bf06615483c608163575cb1 | [log] [tgz] |
---|---|---|
author | Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com> | Wed Sep 29 18:33:41 2010 -0700 |
committer | Eric Van Hensbergen <ericvh@gmail.com> | Thu Oct 28 09:08:48 2010 -0500 |
tree | 44292212cecafac6ed870812b882b9af545bdaa6 | |
parent | 419b39561e698d73a42f8010655d22e0134486da [diff] |
net/9p: Add waitq to VirtIO transport. If there is not enough space for the PDU on the VirtIO ring, current code returns -EIO propagating the error to user. This patch introduced a wqit_queue on the channel, and lets the process wait on this queue until VirtIO ring frees up. Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>