Commit 59b433c
scsi: aacraid: Fix PD performance regression over incorrect qd being set
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: 0bcb45f ("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]>1 parent 63ce3c3 commit 59b433c
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
1978 | 1977 | | |
1979 | 1978 | | |
1980 | 1979 | | |
| |||
1992 | 1991 | | |
1993 | 1992 | | |
1994 | 1993 | | |
1995 | | - | |
1996 | | - | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1997 | 1997 | | |
1998 | 1998 | | |
1999 | 1999 | | |
2000 | | - | |
| 2000 | + | |
| 2001 | + | |
2001 | 2002 | | |
2002 | 2003 | | |
2003 | 2004 | | |
2004 | | - | |
| 2005 | + | |
| 2006 | + | |
2005 | 2007 | | |
2006 | 2008 | | |
2007 | 2009 | | |
2008 | 2010 | | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
2012 | 2011 | | |
2013 | 2012 | | |
2014 | 2013 | | |
| |||
0 commit comments