[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] vhost-blk: An in-kernel accelerator for virtio-blk
On Thu, Jul 28, 2011 at 3:29 PM, Liu Yuan <> wrote:
> +static int blk_completion_worker(void *priv)
> +{

Do you really need this? How about using the vhost poll helper to
observe the eventfd? Then you can drop your own worker thread code
and simply have a work function to handle all pending completions


 \ /
  Last update: 2011-07-28 17:21    [W:0.147 / U:1.556 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site