Re: [PATCH v5] scsi: support packing multi-segment in UNMAP command

From: Christoph Hellwig
Date: Mon Mar 20 2023 - 09:01:05 EST


On Mon, Mar 13, 2023 at 09:44:47AM +0800, Chao Yu wrote:
> IIUC,originally, HPB driver tries to lookup LBA range{,s} from WRITE/DISCARD
> request, and will dirty mapped HPB regions based on LBA range{,s}, do you mean
> HPB driver should not parse DISCARD request?

Eww.. This just means we really need to drop this bogus HPB code.
It will otherwise break every single time when a new SCSI command get
added that modifies LBA content.