Re: [PATCH] vhost-blk: Add vhost-blk support v5

From: Michael S. Tsirkin
Date: Mon Nov 26 2012 - 10:11:29 EST


On Mon, Nov 19, 2012 at 10:26:41PM +0200, Michael S. Tsirkin wrote:
> >
> > Userspace bits:
> > -----------------------------
> > 1) LKVM
> > The latest vhost-blk userspace bits for kvm tool can be found here:
> > git@xxxxxxxxxx:asias/linux-kvm.git blk.vhost-blk
> >
> > 2) QEMU
> > The latest vhost-blk userspace prototype for QEMU can be found here:
> > git@xxxxxxxxxx:asias/qemu.git blk.vhost-blk
> >
> > Changes in v5:
> > - Do not assume the buffer layout
> > - Fix wakeup race
> >
> > Changes in v4:
> > - Mark req->status as userspace pointer
> > - Use __copy_to_user() instead of copy_to_user() in vhost_blk_set_status()
> > - Add if (need_resched()) schedule() in blk thread
> > - Kill vhost_blk_stop_vq() and move it into vhost_blk_stop()
> > - Use vq_err() instead of pr_warn()
> > - Fail un Unsupported request
> > - Add flush in vhost_blk_set_features()
> >
> > Changes in v3:
> > - Sending REQ_FLUSH bio instead of vfs_fsync, thanks Christoph!
> > - Check file passed by user is a raw block device file
> >
> > Signed-off-by: Asias He <asias@xxxxxxxxxx>
>
> Since there are files shared by this and vhost net
> it's easiest for me to merge this all through the
> vhost tree.

Hi Dave, are you ok with this proposal?

--
MST
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/