Message ID | 20190617030349.26415-1-ming.lei@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | use sg helper to operate scatterlist | expand |
On 6/16/19 8:03 PM, Ming Lei wrote: > Scsi MQ makes a large static allocation for the first scatter gather > list chunk for the driver to use. This is a performance headache we'd > like to fix by reducing the size of the allocation to a 2 element > array. Doing this will break the current guarantee that any driver > using SG_ALL doesn't need to use the scatterlist iterators and can get > away with directly dereferencing the array. Thus we need to update all > drivers to use the scatterlist iterators and remove direct indexing of > the scatterlist array before reducing the initial scatterlist > allocation size in SCSI. For all patches in this series except 9/16 and 11/16, please add the following: Reviewed-by: Bart Van Assche <bvanassche@acm.org>