• Mike Miller's avatar
    cciss: remove READ_AHEAD define and use block layer defaults · 68d95b58
    Mike Miller authored
    This patch removes the #define READ_AHEAD 1024 from the driver and uses the
    block layer defaults, instead. We have found that under certain workloads
    the setting can cause a disk connected to the e200 controller to go offline.
    If the disk hiccups the link may try to downshift but the controller is
    never notified that the link successfully completed the renegotiation.
    We've also found that performance using the block layer default of 32 pages
    was on par with the 1024 setting. We tried setting it to zero at one time
    based on info from our firmware guys but that killed performance. Turns out
    we were talking about 2 different read ahead settings.
    Please consider this for inclusion.
    Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    68d95b58
cciss.c 104 KB