[PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-09-02 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/virtio_scsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 74b88ef..5fca1ca 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -683,6 +683,7 @@ static st

Re: [PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-08-30 Thread Hannes Reinecke
On 08/30/2013 02:45 PM, Christoph Hellwig wrote: >> >> +static enum blk_eh_timer_return virtscsi_timedout(struct scsi_cmnd *scmd) >> +{ >> +scsi_abort_command(scmd); >> +return BLK_EH_SCHEDULED; >> +} > > just set the method vector to scsi_abort_command here and in all the > other trivia

Re: [PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-08-30 Thread Christoph Hellwig
> > +static enum blk_eh_timer_return virtscsi_timedout(struct scsi_cmnd *scmd) > +{ > + scsi_abort_command(scmd); > + return BLK_EH_SCHEDULED; > +} just set the method vector to scsi_abort_command here and in all the other trivial conversions instead of having all those pointless wrapper

[PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-08-29 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/virtio_scsi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 74b88ef..d34b195 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -630,6 +630,12 @@ st

[PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-07-01 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke Acked-by: Paolo Bonzini --- drivers/scsi/virtio_scsi.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 2168258..f23b9ef 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.

Re: [PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-06-12 Thread Asias He
On Mon, Jun 10, 2013 at 09:40:53AM +0200, Hannes Reinecke wrote: > Signed-off-by: Hannes Reinecke Reviewed-by: Asias He > --- > drivers/scsi/virtio_scsi.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c > index 2168258..1

Re: [PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-06-12 Thread Paolo Bonzini
Il 10/06/2013 03:40, Hannes Reinecke ha scritto: > Signed-off-by: Hannes Reinecke > --- > drivers/scsi/virtio_scsi.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c > index 2168258..1efd219 100644 > --- a/drivers/scsi/virtio

[PATCH 4/9] virtio_scsi: Enable new EH timeout handler

2013-06-10 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/scsi/virtio_scsi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 2168258..1efd219 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -654,6 +654,11 @@ sta