scsi: push host_lock down into scsi_{host,target}_queue_ready
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Jun 2014 02:05:56 +0000 (20:05 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:12:27 +0000 (12:12 -0600)
commit1286640eddf5b5d2c8c9f142e022b78528377138
tree337e1f5765348de6ffd6f5985a5abc0a4d2a6828
parent15432819f26a66ae394ac86a9336cd52f8c878b7
scsi: push host_lock down into scsi_{host,target}_queue_ready

Prepare for not taking a host-wide lock in the dispatch path by pushing
the lock down into the places that actually need it.  Note that this
patch is just a preparation step, as it will actually increase lock
roundtrips and thus decrease performance on its own.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c