diff options
| author | Ming Lei <[email protected]> | 2022-07-06 12:59:42 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-07-14 02:57:03 +0000 |
| commit | 8312cd3a7b835ae3033a679e5f0014a40e7891c5 (patch) | |
| tree | 33b137e1411969484bc59dd5c460615d97be49a5 /net/unix/af_unix.c | |
| parent | scsi: target: Fix WRITE_SAME No Data Buffer crash (diff) | |
| download | kernel-8312cd3a7b835ae3033a679e5f0014a40e7891c5.tar.gz kernel-8312cd3a7b835ae3033a679e5f0014a40e7891c5.zip | |
scsi: megaraid: Clear READ queue map's nr_queues
The megaraid SCSI driver sets set->nr_maps as 3 if poll_queues is > 0, and
blk-mq actually initializes each map's nr_queues as nr_hw_queues.
Consequently the driver has to clear READ queue map's nr_queues, otherwise
the queue map becomes broken if poll_queues is set as non-zero.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 9e4bec5b2a23 ("scsi: megaraid_sas: mq_poll support")
Cc: Kashyap Desai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Hannes Reinecke <[email protected]>
Reported-by: Guangwu Zhang <[email protected]>
Tested-by: Guangwu Zhang <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
