lkml.org 
[lkml]   [2011]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 1/5] hpsa: set max sectors instead of taking the default
    From
    Date
    From: Stephen M. Cameron <scameron@beardog.cce.hp.com>

    Set the max hardware sectors in the SCSI host template to 8192
    to allow for larger i/o's (8192 is the same limit the cciss
    driver currently has.)

    Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
    ---
    drivers/scsi/hpsa.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
    index b200b73..9b12aea 100644
    --- a/drivers/scsi/hpsa.c
    +++ b/drivers/scsi/hpsa.c
    @@ -484,6 +484,7 @@ static struct scsi_host_template hpsa_driver_template = {
    #endif
    .sdev_attrs = hpsa_sdev_attrs,
    .shost_attrs = hpsa_shost_attrs,
    + .max_sectors = 8192,
    };




    \
     
     \ /
      Last update: 2011-10-26 23:23    [W:0.019 / U:0.928 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site