Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 08:57:20PM +0300, Michael S. Tsirkin wrote: > On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > >

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 08:57:20PM +0300, Michael S. Tsirkin wrote: > On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > >

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Michael S. Tsirkin
On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > This patch introduces the support for VIRTIO_F_IO_BARRIER. > When this feature is negotiated, driver will use the barriers > suitable for hardware devices. > > Signed-off-by: Tiwei Bie Thanks! > --- >

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Michael S. Tsirkin
On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > This patch introduces the support for VIRTIO_F_IO_BARRIER. > When this feature is negotiated, driver will use the barriers > suitable for hardware devices. > > Signed-off-by: Tiwei Bie Thanks! > --- > drivers/virtio/virtio_ring.c

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Stefan Hajnoczi
On Thu, May 3, 2018 at 2:26 PM, Tiwei Bie wrote: > On Thu, May 03, 2018 at 10:06:52AM +0100, Stefan Hajnoczi wrote: >> On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: >> > This patch introduces the support for VIRTIO_F_IO_BARRIER. >> > When this feature is

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Stefan Hajnoczi
On Thu, May 3, 2018 at 2:26 PM, Tiwei Bie wrote: > On Thu, May 03, 2018 at 10:06:52AM +0100, Stefan Hajnoczi wrote: >> On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: >> > This patch introduces the support for VIRTIO_F_IO_BARRIER. >> > When this feature is negotiated, driver will use

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 10:06:52AM +0100, Stefan Hajnoczi wrote: > On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > > > >

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 10:06:52AM +0100, Stefan Hajnoczi wrote: > On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > > > >

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 17:58, Tiwei Bie wrote: On Thu, May 03, 2018 at 05:09:44PM +0800, Jason Wang wrote: On 2018年05月03日 16:30, Tiwei Bie wrote: On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 17:58, Tiwei Bie wrote: On Thu, May 03, 2018 at 05:09:44PM +0800, Jason Wang wrote: On 2018年05月03日 16:30, Tiwei Bie wrote: On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Stefan Hajnoczi
On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > This patch introduces the support for VIRTIO_F_IO_BARRIER. > When this feature is negotiated, driver will use the barriers > suitable for hardware devices. > > Signed-off-by: Tiwei Bie I should have thought of

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Stefan Hajnoczi
On Thu, May 03, 2018 at 10:59:55AM +0800, Tiwei Bie wrote: > This patch introduces the support for VIRTIO_F_IO_BARRIER. > When this feature is negotiated, driver will use the barriers > suitable for hardware devices. > > Signed-off-by: Tiwei Bie I should have thought of this earlier, but why is

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 05:09:44PM +0800, Jason Wang wrote: > On 2018年05月03日 16:30, Tiwei Bie wrote: > > On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: > > > On 2018年05月03日 10:59, Tiwei Bie wrote: > > > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > > > When this

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 05:09:44PM +0800, Jason Wang wrote: > On 2018年05月03日 16:30, Tiwei Bie wrote: > > On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: > > > On 2018年05月03日 10:59, Tiwei Bie wrote: > > > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > > > When this

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 16:30, Tiwei Bie wrote: On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices.

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 16:30, Tiwei Bie wrote: On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices.

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: > On 2018年05月03日 10:59, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > > > > Signed-off-by: Tiwei Bie

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: > On 2018年05月03日 10:59, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > > > > Signed-off-by: Tiwei Bie

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 5 +

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 5 +

[RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-02 Thread Tiwei Bie
This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 5 + include/uapi/linux/virtio_config.h | 8 +++-

[RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-02 Thread Tiwei Bie
This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 5 + include/uapi/linux/virtio_config.h | 8 +++- 2 files changed, 12