Re: [PATCH 5/6] scsi: remove a useless get/put_device pair in scsi_next_command

2014-02-12 Thread Hannes Reinecke
On 02/06/2014 07:43 PM, Christoph Hellwig wrote: > From: Bart Van Assche > > Eliminate a get_device() / put_device() pair from scsi_next_command(). > Both are atomic operations hence removing these slightly improves > performance. > > [hch: slight changes due to different context] > > Signed-of

[PATCH 5/6] scsi: remove a useless get/put_device pair in scsi_next_command

2014-02-06 Thread Christoph Hellwig
From: Bart Van Assche Eliminate a get_device() / put_device() pair from scsi_next_command(). Both are atomic operations hence removing these slightly improves performance. [hch: slight changes due to different context] Signed-off-by: Bart Van Assche Signed-off-by: Christoph Hellwig --- drive