All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>,
	Kanchan Joshi <joshi.k@samsung.com>,
	kbusch@kernel.org, chaitanya.kulkarni@wdc.com,
	io-uring@vger.kernel.org, linux-nvme@lists.infradead.org,
	anuj20.g@samsung.com, javier.gonz@samsung.com,
	nj.shetty@samsung.com, selvakuma.s1@samsung.com
Subject: Re: [RFC PATCH v3 3/3] nvme: wire up support for async passthrough
Date: Wed, 17 Mar 2021 17:59:59 +0100	[thread overview]
Message-ID: <20210317165959.GA25097@lst.de> (raw)
In-Reply-To: <149d2bc7-ec80-2e51-7db1-15765f35a27f@kernel.dk>

On Wed, Mar 17, 2021 at 10:49:28AM -0600, Jens Axboe wrote:
> I will post it soon, only reason I haven't reposted is that I'm not that
> happy with how the sqe split is done (and that it's done in the first
> place). But I'll probably just post the current version for comments,
> and hopefully we can get it to where it needs to be soon.

Yes, I don't like that at all either.  I almost wonder if we should
use an entirely different format after opcode and flags, although
I suspect fd would be nice to have in the same spot as well.

On a related note: I think it really should have a generic cmd
dispatching mechanism like ioctls have, preferably even enforcing
the _IO* mechanism.

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>,
	Kanchan Joshi <joshi.k@samsung.com>,
	kbusch@kernel.org, chaitanya.kulkarni@wdc.com,
	io-uring@vger.kernel.org, linux-nvme@lists.infradead.org,
	anuj20.g@samsung.com, javier.gonz@samsung.com,
	nj.shetty@samsung.com, selvakuma.s1@samsung.com
Subject: Re: [RFC PATCH v3 3/3] nvme: wire up support for async passthrough
Date: Wed, 17 Mar 2021 17:59:59 +0100	[thread overview]
Message-ID: <20210317165959.GA25097@lst.de> (raw)
In-Reply-To: <149d2bc7-ec80-2e51-7db1-15765f35a27f@kernel.dk>

On Wed, Mar 17, 2021 at 10:49:28AM -0600, Jens Axboe wrote:
> I will post it soon, only reason I haven't reposted is that I'm not that
> happy with how the sqe split is done (and that it's done in the first
> place). But I'll probably just post the current version for comments,
> and hopefully we can get it to where it needs to be soon.

Yes, I don't like that at all either.  I almost wonder if we should
use an entirely different format after opcode and flags, although
I suspect fd would be nice to have in the same spot as well.

On a related note: I think it really should have a generic cmd
dispatching mechanism like ioctls have, preferably even enforcing
the _IO* mechanism.

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

  reply	other threads:[~2021-03-17 17:01 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20210316140229epcas5p23d68a4c9694bbf7759b5901115a4309b@epcas5p2.samsung.com>
2021-03-16 14:01 ` [RFC PATCH v3 0/3] Async nvme passthrough over io_uring Kanchan Joshi
2021-03-16 14:01   ` Kanchan Joshi
2021-03-16 14:01   ` [RFC PATCH v3 1/3] io_uring: add helper for uring_cmd completion in submitter-task Kanchan Joshi
2021-03-16 14:01     ` Kanchan Joshi
2021-03-16 15:43     ` Stefan Metzmacher
2021-03-16 15:43       ` Stefan Metzmacher
2021-03-18  1:57     ` Jens Axboe
2021-03-18  1:57       ` Jens Axboe
2021-03-18  5:25       ` Kanchan Joshi
2021-03-18  5:25         ` Kanchan Joshi
2021-03-18  5:48         ` Christoph Hellwig
2021-03-18  5:48           ` Christoph Hellwig
2021-03-18  6:14           ` Kanchan Joshi
2021-03-18  6:14             ` Kanchan Joshi
2021-03-16 14:01   ` [RFC PATCH v3 2/3] nvme: keep nvme_command instead of pointer to it Kanchan Joshi
2021-03-16 14:01     ` Kanchan Joshi
2021-03-16 17:16     ` Keith Busch
2021-03-16 17:16       ` Keith Busch
2021-03-17  9:38       ` Kanchan Joshi
2021-03-17  9:38         ` Kanchan Joshi
2021-03-17 14:17         ` Keith Busch
2021-03-17 14:17           ` Keith Busch
2021-03-16 14:01   ` [RFC PATCH v3 3/3] nvme: wire up support for async passthrough Kanchan Joshi
2021-03-16 14:01     ` Kanchan Joshi
2021-03-17  8:52     ` Christoph Hellwig
2021-03-17  8:52       ` Christoph Hellwig
2021-03-17 16:49       ` Jens Axboe
2021-03-17 16:49         ` Jens Axboe
2021-03-17 16:59         ` Christoph Hellwig [this message]
2021-03-17 16:59           ` Christoph Hellwig
2021-03-17 17:21           ` Jens Axboe
2021-03-17 17:21             ` Jens Axboe
2021-03-17 18:59             ` Jens Axboe
2021-03-17 18:59               ` Jens Axboe
2021-03-18  5:54       ` Kanchan Joshi
2021-03-18  5:54         ` Kanchan Joshi
2021-03-17 16:45     ` Keith Busch
2021-03-17 16:45       ` Keith Busch
2021-03-17 17:02       ` Christoph Hellwig
2021-03-17 17:02         ` Christoph Hellwig
2021-03-16 15:51   ` [RFC PATCH v3 0/3] Async nvme passthrough over io_uring Jens Axboe
2021-03-16 15:51     ` Jens Axboe
2021-03-17  9:31     ` Kanchan Joshi
2021-03-17  9:31       ` Kanchan Joshi
2021-03-18  1:58       ` Jens Axboe
2021-03-18  1:58         ` Jens Axboe
2021-03-18  7:47         ` Kanchan Joshi
2021-03-18  7:47           ` Kanchan Joshi

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=20210317165959.GA25097@lst.de \
    --to=hch@lst.de \
    --cc=anuj20.g@samsung.com \
    --cc=axboe@kernel.dk \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=io-uring@vger.kernel.org \
    --cc=javier.gonz@samsung.com \
    --cc=joshi.k@samsung.com \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=nj.shetty@samsung.com \
    --cc=selvakuma.s1@samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.