[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2205b7c0-53d5-a485-72e3-12810d8c0a42@acm.org>
Date: Thu, 16 Jun 2022 20:50:53 -0700
From: Bart Van Assche <bvanassche@....org>
To: Chao Yu <chao@...nel.org>, jejb@...ux.ibm.com,
martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@...radead.org
Subject: Re: [PATCH v4] scsi: support packing multi-segment in UNMAP command
On 6/15/22 18:36, Chao Yu wrote:
> As SCSI SBC4 specification section 5.30.2 describes that it can
> support unmapping one or more LBA range in single UNMAP command.
>
> However, previously we only pack one LBA range in UNMAP command
> by default no matter device gives the block limits that says it
> can support unmapping multiple LBA ranges with a single UNMAP
> command.
>
> This patch sets max_discard_segments config according to block
> limits of device, and supports unmapping multiple LBA ranges with
> a single UNMAP command.
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists