public inbox for [email protected]
 help / color / mirror / Atom feed
From: Josef <[email protected]>
To: Jens Axboe <[email protected]>, io-uring <[email protected]>
Cc: [email protected]
Subject: Re: SQPOLL fd close(2) question
Date: Sat, 26 Sep 2020 01:40:36 +0200	[thread overview]
Message-ID: <CAAss7+psYrRTdgbX0hFniUUmuBNTPbzRKGGg7v1E1N+C08FE8A@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>

> If you have a file registered, that holds a reference to it. So when
> you then otherwise close it in the app, it's similar to having done
> a dup() on it and just closing the original. So yes, this is known and
> expected, I'm afraid.

Thanks for clarification, the only way to delete the file registered
reference is to use io_uring_unregister_files right?
I don't think that we can support SQPOLL for 5.8/5.9, but at least for 5.10+ :)

---
Josef Grieb

  reply	other threads:[~2020-09-25 23:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25 16:21 SQPOLL fd close(2) question Josef
2020-09-25 17:56 ` Jens Axboe
2020-09-25 23:40   ` Josef [this message]
2020-09-26 10:53     ` Jens Axboe

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=CAAss7+psYrRTdgbX0hFniUUmuBNTPbzRKGGg7v1E1N+C08FE8A@mail.gmail.com \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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