[net/9p] unconditional wake_up to proc waiting for space on VirtIO ring
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Tue, 8 Mar 2011 23:34:20 +0000 (15:34 -0800)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 22 Mar 2011 21:32:19 +0000 (16:32 -0500)
commit53bda3e5b4e91763224ecb7d05dab94d281fd41d
tree0e21d7fd11ff058a9deb37dee53eac68ad42f727
parent42869c8adae72366fc6c4f3924ce3d6c3735c4a3
[net/9p] unconditional wake_up to proc waiting for space on VirtIO ring

Process may wait to get space on VirtIO ring to send a transaction to
VirtFS server. Current code just does a conditional wake_up() which
means only one process will be woken up even if multiple processes
are waiting.

This fix makes the wake_up unconditional. Hence we won't have any
processes waiting for-ever.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_virtio.c