RE: [PATCH v2 1/3] scsi: ufs: add write booster feature support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +
> +       if (!hba->dev_info.b_presrv_uspc_en &&
> +           (avail_buf <= UFS_WB_10_PERCENT_BUF_REMAIN))
> +               return true;
If you are in reduced mode, but avail_buf > 10%,
you still get into ufshcd_wb_presrv_usrspc_keep_vcc_on(),
Which you don't want.

> +
> +       return ufshcd_wb_presrv_usrspc_keep_vcc_on(hba, avail_buf);
> +}
> +

Thanks,
Avri




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux