On Tue, Jun 04, 2019 at 04:23:07PM +0800, Ming Lei wrote: > The pre-allocated small SGL depends on SG_CHAIN, so if the ARCH doesn't > support SG_CHAIN, pre-allocation of small SGL can't work at all. > > Fixes this issue by not using small pre-allocation 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]> > Fixes: c3288dd8c232 ("scsi: core: avoid pre-allocating big SGL for data") > Reported-by: Guenter Roeck <[email protected]> > Signed-off-by: Ming Lei <[email protected]>
alpha images still crash with this patch applied (see response to patch 0/2) for traceback). Guenter

