• V
    libfc: fix REC handling · 5b97fabd
    Vasu Dev 提交于
    Currently fc_fcp_timeout doesn't check FC_RP_FLAGS_REC_SUPPORTED
    flag first, this prevents REC request ever going out at all
    to the target having REC support. So this patches fixes the
    fc_fcp_timeout by checking FC_RP_FLAGS_REC_SUPPORTED flag first.
    
    The changed order won't cause any issue during clearing
    FC_RP_FLAGS_REC_SUPPORTED on failed IO with target not supporting
    FC_RP_FLAGS_REC_SUPPORTED, since retry on failed IO would succeed.
    Signed-off-by: NVasu Dev <vasu.dev@intel.com>
    Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
    Signed-off-by: NRobert Love <robert.w.love@intel.com>
    5b97fabd
fc_fcp.c 59.1 KB