diff options
| author | Ming Lei <[email protected]> | 2019-06-06 08:34:09 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-06-20 19:22:57 +0000 |
| commit | 3e99b3b13a1fc8f7354edaee4c04f73a07faba69 (patch) | |
| tree | 7936efe53e27851c52abaf41bbf023d83ab31c0f /drivers/scsi/pmcraid.c | |
| parent | scsi: lib/sg_pool.c: clear 'first_chunk' in case of no preallocation (diff) | |
| download | kernel-3e99b3b13a1fc8f7354edaee4c04f73a07faba69.tar.gz kernel-3e99b3b13a1fc8f7354edaee4c04f73a07faba69.zip | |
scsi: core: don't preallocate small SGL in case of NO_SG_CHAIN
The preallocated small SGL depends on SG_CHAIN so if the ARCH doesn't
support SG_CHAIN, preallocation of small SGL can't work at all.
Fix this issue by not using small preallocation in case of NO_SG_CHAIN.
Cc: Christoph Hellwig <[email protected]>
Cc: Bart Van Assche <[email protected]>
Cc: Ewan D. Milne <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Guenter Roeck <[email protected]>
Reported-by: Guenter Roeck <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions
