linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Keith Busch <kbusch@kernel.org>
To: Klaus Jensen <its@irrelevant.dk>
Cc: linux-nvme@lists.infradead.org, sagi@grimberg.me, hch@lst.de
Subject: Re: [PATCH] nvme: implement non-mdts command limits
Date: Fri, 12 Mar 2021 00:49:52 +0900	[thread overview]
Message-ID: <20210311154952.GB27105@redsun51.ssa.fujisawa.hgst.com> (raw)
In-Reply-To: <YEmv3nNynyBHggoz@apples.localdomain>

On Thu, Mar 11, 2021 at 06:51:26AM +0100, Klaus Jensen wrote:
> On Mar 10 11:57, Keith Busch wrote:
> > +	if (id->dmrsl)
> > +		ctrl->max_discard_sectors = le32_to_cpu(id->dmrsl);
> 
> Since DMRSL is in terms of LBAs, should this use nvme_lba_to_sect?

We need a namespace for that, but we only have a controller for this
Identify.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

  reply	other threads:[~2021-03-11 15:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 19:57 [PATCH] nvme: implement non-mdts command limits Keith Busch
2021-03-10 20:12 ` Keith Busch
2021-03-11  5:51 ` Klaus Jensen
2021-03-11 15:49   ` Keith Busch [this message]
2021-03-11 15:59     ` Klaus Jensen
2021-03-11 19:18       ` Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210311154952.GB27105@redsun51.ssa.fujisawa.hgst.com \
    --to=kbusch@kernel.org \
    --cc=hch@lst.de \
    --cc=its@irrelevant.dk \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).