Re: [PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-07-21 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> Avoid taking the host-wide host_lock to check the per-target Christoph> queue limit. Instead we do an atomic_inc_return early on to Christoph> grab our slot in the queue, and if nessecary decrement it Minor nit:

[PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-07-18 Thread Christoph Hellwig
Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales A

Re: [PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-07-09 Thread Hannes Reinecke
On 06/25/2014 06:51 PM, Christoph Hellwig wrote: Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig ---

[PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-06-25 Thread Christoph Hellwig
Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c| 52 ++

[PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-06-12 Thread Christoph Hellwig
Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c| 52 ++