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

From: Martin K. Petersen
Date: Mon Jul 21 2014 - 23:57:44 EST


>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxx> 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: necessary

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/