linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Keith Busch <kbusch@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>, Keith Busch <kbusch@meta.com>,
	linux-block@vger.kernel.org, linux-nvme@lists.infradead.org,
	axboe@kernel.dk, io-uring@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, joshi.k@samsung.com,
	javier.gonz@samsung.com
Subject: Re: [PATCHv8 2/6] block: use generic u16 for write hints
Date: Fri, 25 Oct 2024 14:20:04 +0200	[thread overview]
Message-ID: <20241025122004.GA22710@lst.de> (raw)
In-Reply-To: <Zxqjvu0w9OsJN2uB@kbusch-mbp.dhcp.thefacebook.com>

On Thu, Oct 24, 2024 at 01:45:02PM -0600, Keith Busch wrote:
> I'm not sure I follow this feedback. The SCSI feature is defined as a
> lifetime stream association in SBC-5. So it's still a stream for SCSI,
> but you want to call it "WRITE_HINT", which is not a term used in the
> SCSI spec for this feature. But, you want to call it STREAM_SEPARATION
> for NVMe only, even though the FDP spec doesn't use that term? What's
> wrong with just calling it a generic hint support feature?

The "Constrained Streams with Data Lifetimes" are called streams for
political reasons but they are not.  They are buckets of different data
lifetimes.

> I also don't see why SCSI couldn't use per-io hints just like this
> enables for NVMe. The spec doesn't limit SCSI to just 5 streams, so this
> provides a way to access them all through the raw block device.

I don't mind passing per-I/O temperature hints to SCSI block devices.

But we should not confuse a streams/FDP like streams that are different
context which are assumed to be discarded together and have a concept of
Stream Granularity Size or Reclaim Unit size with the data temperature
hints that are at the storage level fundamentally per-I/O and just bucket
into temperature group without any indication of data locality.

  reply	other threads:[~2024-10-25 12:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-17 16:09 [PATCHv8 0/6] write hints for nvme fdp Keith Busch
2024-10-17 16:09 ` [PATCHv8 2/6] block: use generic u16 for write hints Keith Busch
2024-10-18  5:46   ` Christoph Hellwig
2024-10-24 19:45     ` Keith Busch
2024-10-25 12:20       ` Christoph Hellwig [this message]
2024-10-18  6:00   ` Hannes Reinecke
2024-10-18 16:12   ` Bart Van Assche
2024-10-21 15:03     ` Keith Busch
2024-10-17 16:09 ` [PATCHv8 3/6] block: introduce max_write_hints queue limit Keith Busch
2024-10-18  5:51   ` Christoph Hellwig
2024-10-18  6:01   ` Hannes Reinecke
2024-10-18 16:18   ` Bart Van Assche
2024-10-21 15:02     ` Keith Busch
2024-10-17 16:09 ` [PATCHv8 4/6] fs: introduce per-io hint support flag Keith Busch
2024-10-18  5:52   ` Christoph Hellwig
2024-10-18  6:03   ` Hannes Reinecke
2024-10-17 16:09 ` [PATCHv8 5/6] io_uring: enable per-io hinting capability Keith Busch
2024-10-18  5:53   ` Christoph Hellwig
2024-10-18  6:03   ` Hannes Reinecke
     [not found] ` <20241017160937.2283225-2-kbusch@meta.com>
2024-10-18  5:50   ` [PATCHv8 1/6] block, fs: restore kiocb based write hint processing Christoph Hellwig
2024-10-21 15:47     ` Keith Busch
2024-10-21 17:09       ` Bart Van Assche
2024-10-21 19:35         ` Keith Busch
2024-10-22  6:43       ` Christoph Hellwig
2024-10-22 14:37         ` Keith Busch
2024-10-22 14:40           ` Christoph Hellwig
2024-10-18 16:11   ` Bart Van Assche
     [not found] ` <CGME20241017161628epcas5p1006f392dc6c208634997f3a950ec8c67@epcas5p1.samsung.com>
     [not found]   ` <20241017160937.2283225-7-kbusch@meta.com>
2024-10-18 10:48     ` [PATCHv8 6/6] nvme: enable FDP support Kanchan Joshi
2024-10-21 15:08       ` 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=20241025122004.GA22710@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=javier.gonz@samsung.com \
    --cc=joshi.k@samsung.com \
    --cc=kbusch@kernel.org \
    --cc=kbusch@meta.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    /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).