• Kashyap, Desai's avatar
    [SCSI] mpt2sas: Create a pool of chain buffer instead of dedicated per IOs · 35f805b5
    Kashyap, Desai authored
    Create a pool of chain buffers, instead of dedicated per IO:
    This enahancment is to address memory allocation failure when asking
    for more than 2300 IOs per host.   There is just not enough contiquious
    DMA physical memory to make one single allocation to hold both message
    frames and chain buffers when asking for more than 2300 request. In order
    to address this problem we will have to allocate memory for each chain
    buffer in a seperate individual memory allocation, placing each chain
    element of 128 bytes onto a pool of available chains, which can be
    shared amoung all request.
    Signed-off-by: default avatarKashyap Desai <kashyap.desai@lsi.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    35f805b5
mpt2sas_base.c 115 KB