diff options
| author | Jason Wang <[email protected]> | 2016-03-04 11:24:52 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2016-03-11 00:18:50 +0000 |
| commit | d4a60603fa0b42012decfa058dfa44cffde7a10c (patch) | |
| tree | e67544642fc442b1c3823a4cef4a744cc8e81bf1 /fs/jbd2/commit.c | |
| parent | vhost: introduce vhost_has_work() (diff) | |
| download | kernel-d4a60603fa0b42012decfa058dfa44cffde7a10c.tar.gz kernel-d4a60603fa0b42012decfa058dfa44cffde7a10c.zip | |
vhost: introduce vhost_vq_avail_empty()
This patch introduces a helper which will return true if we're sure
that the available ring is empty for a specific vq. When we're not
sure, e.g vq access failure, return false instead. This could be used
for busy polling code to exit the busy loop.
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
