mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
The driver fails to set the correct queue depth for native devices, due to
failing to set the device type prior to calling aac_set_safw_target_qd().
This results in slave configure setting the queue depth to 1.
This causes around 30% performance degradation. Fixed by setting the dev
type before trying to set queue depth.
Reported-by: Steve Best <[email protected]>
Fixes: 0bcb45fb20 ("scsi: aacraid: Add helper function to set queue depth")
cc: [email protected]
Signed-off-by: Raghava Aditya Renukunta <[email protected]>
Reviewed-by: David Carroll <[email protected]>
Reviewed-by: Ewan D. Milne <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>