diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-06-06 10:34:09 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-20 21:22:57 +0200 |
commit | 3e99b3b13a1fc8f7354edaee4c04f73a07faba69 (patch) | |
tree | 7936efe53e27851c52abaf41bbf023d83ab31c0f /drivers/scsi/vmw_pvscsi.c | |
parent | scsi: lib/sg_pool.c: clear 'first_chunk' in case of no preallocation (diff) | |
download | linux-3e99b3b13a1fc8f7354edaee4c04f73a07faba69.tar.xz linux-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 <hch@lst.de>
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Ewan D. Milne <emilne@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/vmw_pvscsi.c')
0 files changed, 0 insertions, 0 deletions