scsi: mpi3mr: Support for preallocation of SGL BSG data buffers
JIRA: https://issues.redhat.com/browse/RHEL-18205 Upstream Status: From upstream linux mainline
The driver now supports SGLs for BSG data transfer. Upon loading, the driver pre-allocates SGLs in chunks of 8k, results in a total of 256 * 8k, equal to 2MB. These pre-allocated SGLs are reserved for handling BSG commands and are deallocated during driver unload.
Signed-off-by: Ewan D. Milne emilne@redhat.com