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 <h...@lst.de>
> Cc: Bart Van Assche <bvanass...@acm.org>
> Cc: Ewan D. Milne <emi...@redhat.com>
> Cc: Hannes Reinecke <h...@suse.com>
> Cc: Guenter Roeck <li...@roeck-us.net>
> Fixes: c3288dd8c232 ("scsi: core: avoid pre-allocating big SGL for data")
> Reported-by: Guenter Roeck <li...@roeck-us.net>
> Signed-off-by: Ming Lei <ming....@redhat.com>

alpha images still crash with this patch applied (see response to
patch 0/2) for traceback).

Guenter

Reply via email to