Issue with discard with NVME and Infinibox Storage

Keith Busch kbusch at kernel.org
Mon Apr 3 11:29:51 PDT 2023


On Mon, Apr 03, 2023 at 02:18:21PM -0400, Laurence Oberman wrote:
> On Mon, 2023-04-03 at 12:00 -0600, Keith Busch wrote:
> > > 
> > > 
> > > Let me know your thoughts please. for both issues
> > 
> > The commit you found unconditionally sets the discard queue limit to
> > the
> > reported DMRSL, so it sounds like your target is reporting DMRSL as
> > '0'. Prior
> > to that commit, we'd use that value only if it was non-zero. I hope
> > that helps.
> > 
> 
> 
> 
> Hello Keith,
> Many Thanks as always
> I will inform Infinidat and have them figure this out.

If you have access to such a target and want to quickly verify, you could run:

  # nvme nvm-id-ctrl /dev/nvme0

and see what it reports for DMRSL.



More information about the Linux-nvme mailing list