mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
scsi: allocate scsi_cmnd structures as part of struct request
Rely on the new block layer functionality to allocate additional driver specific data behind struct request instead of implementing it in SCSI itѕelf. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Martin K. Petersen <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
d48777a633
commit
e9c787e65c
6 changed files with 95 additions and 394 deletions
|
|
@ -551,9 +551,6 @@ struct Scsi_Host {
|
|||
struct list_head __devices;
|
||||
struct list_head __targets;
|
||||
|
||||
struct scsi_host_cmd_pool *cmd_pool;
|
||||
spinlock_t free_list_lock;
|
||||
struct list_head free_list; /* backup store of cmd structs */
|
||||
struct list_head starved_list;
|
||||
|
||||
spinlock_t default_lock;
|
||||
|
|
|
|||
Loading…
Reference in a new issue