Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-27 Thread Michael S. Tsirkin
On Wed, Mar 27, 2013 at 11:01:34AM +0800, Asias He wrote: > On Tue, Mar 26, 2013 at 10:51:54PM +0200, Michael S. Tsirkin wrote: > > On Tue, Mar 26, 2013 at 10:38:27AM +0800, Asias He wrote: > > > On Mon, Mar 25, 2013 at 01:13:39PM +0200, Michael S. Tsirkin wrote: > > > > On Mon, Mar 25, 2013 at 03:

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-26 Thread Asias He
On Tue, Mar 26, 2013 at 10:51:54PM +0200, Michael S. Tsirkin wrote: > On Tue, Mar 26, 2013 at 10:38:27AM +0800, Asias He wrote: > > On Mon, Mar 25, 2013 at 01:13:39PM +0200, Michael S. Tsirkin wrote: > > > On Mon, Mar 25, 2013 at 03:39:42PM +0800, Asias He wrote: > > > > On Sun, Mar 24, 2013 at 05:

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-26 Thread Michael S. Tsirkin
On Tue, Mar 26, 2013 at 10:38:27AM +0800, Asias He wrote: > On Mon, Mar 25, 2013 at 01:13:39PM +0200, Michael S. Tsirkin wrote: > > On Mon, Mar 25, 2013 at 03:39:42PM +0800, Asias He wrote: > > > On Sun, Mar 24, 2013 at 05:11:37PM +0200, Michael S. Tsirkin wrote: > > > > On Fri, Mar 22, 2013 at 02:

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-25 Thread Asias He
On Mon, Mar 25, 2013 at 01:13:39PM +0200, Michael S. Tsirkin wrote: > On Mon, Mar 25, 2013 at 03:39:42PM +0800, Asias He wrote: > > On Sun, Mar 24, 2013 at 05:11:37PM +0200, Michael S. Tsirkin wrote: > > > On Fri, Mar 22, 2013 at 02:55:27PM +0800, Asias He wrote: > > > > This patch makes vhost_scsi

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-25 Thread Michael S. Tsirkin
On Mon, Mar 25, 2013 at 03:39:42PM +0800, Asias He wrote: > On Sun, Mar 24, 2013 at 05:11:37PM +0200, Michael S. Tsirkin wrote: > > On Fri, Mar 22, 2013 at 02:55:27PM +0800, Asias He wrote: > > > This patch makes vhost_scsi_flush() wait for all the pending requests > > > issued before the flush ope

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-25 Thread Asias He
On Sun, Mar 24, 2013 at 05:11:37PM +0200, Michael S. Tsirkin wrote: > On Fri, Mar 22, 2013 at 02:55:27PM +0800, Asias He wrote: > > This patch makes vhost_scsi_flush() wait for all the pending requests > > issued before the flush operation to be finished. > > > > Signed-off-by: Asias He > > --- >

Re: [PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-24 Thread Michael S. Tsirkin
On Fri, Mar 22, 2013 at 02:55:27PM +0800, Asias He wrote: > This patch makes vhost_scsi_flush() wait for all the pending requests > issued before the flush operation to be finished. > > Signed-off-by: Asias He > --- > drivers/vhost/tcm_vhost.c | 117 > ++-

[PATCH V2 1/3] tcm_vhost: Wait for pending requests in vhost_scsi_flush()

2013-03-21 Thread Asias He
This patch makes vhost_scsi_flush() wait for all the pending requests issued before the flush operation to be finished. Signed-off-by: Asias He --- drivers/vhost/tcm_vhost.c | 117 ++ drivers/vhost/tcm_vhost.h | 4 ++ 2 files changed, 101 insertions(