public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Linus Torvalds <[email protected]>
Cc: io-uring <[email protected]>
Subject: Re: [GIT PULL] io_uring changes for 5.11-rc
Date: Wed, 16 Dec 2020 07:10:47 -0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

On 12/14/20 7:41 AM, Jens Axboe wrote:
> Hi Linus,
> 
> Fairly light set of changes this time around, and mostly some bits that
> were pushed out to 5.11 instead of 5.10, fixes/cleanups, and a few
> features. In particular:
> 
> - Cleanups around iovec import (David Laight, Pavel)
> 
> - Add timeout support for io_uring_enter(2), which enables us to clean
>   up liburing and avoid a timeout sqe submission in the completion path.
>   The big win here is that it allows setups that split SQ and CQ
>   handling into separate threads to avoid locking, as the CQ side will
>   no longer submit when timeouts are needed when waiting for events.
>   (Hao Xu)
> 
> - Add support for socket shutdown, and renameat/unlinkat.
> 
> - SQPOLL cleanups and improvements (Xiaoguang Wang)
> 
> - Allow SQPOLL setups for CAP_SYS_NICE, and enable regular (non-fixed)
>   files to be used.
> 
> - Cancelation improvements (Pavel)
> 
> - Fixed file reference improvements (Pavel)
> 
> - IOPOLL related race fixes (Pavel)
> 
> - Lots of other little fixes and cleanups (mostly Pavel)
> 
> Please pull!

With the net branch pulled, this will now fail due to the changing
of sock_from_file. It'll merge cleanly, but you need to fix that
one up.

fs/io_uring.c: In function ‘io_shutdown’:
fs/io_uring.c:3784:9: error: too many arguments to function ‘sock_from_file’
 3784 |  sock = sock_from_file(req->file, &ret);
      |         ^~~~~~~~~~~~~~
In file included from fs/io_uring.c:63:
./include/linux/net.h:243:16: note: declared here
  243 | struct socket *sock_from_file(struct file *file);
      |                ^~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:279: fs/io_uring.o] Error 1

Like so:

 -	sock = sock_from_file(req->file, &ret);
++	sock = sock_from_file(req->file);
+ 	if (unlikely(!sock))
 -		return ret;
++		return -ENOTSOCK;

-- 
Jens Axboe


  reply	other threads:[~2020-12-16 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14 14:41 [GIT PULL] io_uring changes for 5.11-rc Jens Axboe
2020-12-16 14:10 ` Jens Axboe [this message]
2020-12-16 21:18 ` pr-tracker-bot

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 \
    [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