• M
    [SCSI] qla2xxx: Conditionally disable automatic queue full tracking. · a13d8ac0
    Michael Reed 提交于
    Changing a lun's queue depth (/sys/block/sdX/device/queue_depth)
    isn't sticky when the device is connected via a QLogic fibre
    channel adapter.
    
    The QLogic qla2xxx fibre channel driver dynamically adjusts a
    lun's queue depth.  If a user has a specific need to limit the
    number of commands issued to a lun (say a tape drive, or a shared
    raid where the total commands issued to all luns is limited at
    the controller level, for example) and writes a limiting value to
    /sys/block/sdXX/device/queue_depth, the qla2xxx driver will
    silently and gradually increase the queue depth back to the
    driver limit of ql2xmaxqdepth.  While reducing this value (module
    parameter) or increasing the interval between ramp ups
    (ql2xqfullrampup) offers the potential for a work around it would
    be better to have the option of just disabling the dynamic
    adjustment of queue depth.
    
    This patch implements an "off switch" as a module parameter.
    Signed-off-by: NMichael Reed <mdr@sgi.com>
    Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
    Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
    a13d8ac0
qla_gbl.h 15.3 KB