Re: Discard performance regression after "scsi: sd: Remove LBPRZ dependency for discards"

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

 



Wang,

> We have a sata ssd with following parameters,
>
>   max_ws_blocks = 0
>   max_unmap_blocks = 262143
>   lbprz = 1
>   lbpu = 1
>   unmap_limit_for_ws = 0

The device is explicitly asking for us to use UNMAP so the older kernel
choosing WRITE SAME(16) was not correct.

I have been working on an update to the discard/zeroing heuristics that
I'll post when 5.15 opens next week. But based on what's reported it by
your device we would still choose UNMAP for discards. LBPRZ only affects
which command we use for zeroing.

-- 
Martin K. Petersen	Oracle Linux Engineering



[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