io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Drew DeVault" <sir@cmpwn.com>
To: "Jens Axboe" <axboe@kernel.dk>, <io-uring@vger.kernel.org>
Cc: "noah" <goldstein.w.n@gmail.com>,
	"Pavel Begunkov" <asml.silence@gmail.com>
Subject: Re: [PATCH] Add IORING_FEAT_FILES_SKIP feature flag
Date: Thu, 20 May 2021 17:55:01 -0400	[thread overview]
Message-ID: <CBIEOQ7BRJ0Q.3O3QZBY0ZZPFI@taiga> (raw)
In-Reply-To: <2bbb982d-c9a4-8029-83e8-3041327e04dc@kernel.dk>

On Thu May 20, 2021 at 9:32 AM EDT, Jens Axboe wrote:
> > diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
> > index 5a3cb90..091dcf7 100644
> > --- a/src/include/liburing/io_uring.h
> > +++ b/src/include/liburing/io_uring.h
> > @@ -285,6 +285,7 @@ struct io_uring_params {
> >  #define IORING_FEAT_SQPOLL_NONFIXED	(1U << 7)
> >  #define IORING_FEAT_EXT_ARG		(1U << 8)
> >  #define IORING_FEAT_NATIVE_WORKERS	(1U << 9)
> > +#define IORING_FEAT_FILES_SKIP		IORING_FEAT_NATIVE_WORKERS
>
> I don't think this is a great idea. It can be used as a "probably we
> have this feature" in userspace, but I don't like aliasing on the
> kernel side.

This patch is for liburing, following the feedback on the kernel patch
(which didn't alias, but regardless).

  reply	other threads:[~2021-05-20 21:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 16:12 [PATCH] Add IORING_FEAT_FILES_SKIP feature flag Drew DeVault
2021-05-20 13:32 ` Jens Axboe
2021-05-20 21:55   ` Drew DeVault [this message]
2021-05-20 22:54     ` Pavel Begunkov
2021-05-20 23:09       ` Drew DeVault

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=CBIEOQ7BRJ0Q.3O3QZBY0ZZPFI@taiga \
    --to=sir@cmpwn.com \
    --cc=asml.silence@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=goldstein.w.n@gmail.com \
    --cc=io-uring@vger.kernel.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).