io_uring: flag new native workers with IORING_FEAT_NATIVE_WORKERS
authorJens Axboe <axboe@kernel.dk>
Sat, 20 Feb 2021 18:55:28 +0000 (11:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Feb 2021 03:32:11 +0000 (20:32 -0700)
commit1c0aa1fae1acb77c5f9917adb0e4cb4500b9f3a6
treee95c741ecb8de8120b5be5fecd5b6c8fe3d54eab
parente54937963fa249595824439dc839c948188dea83
io_uring: flag new native workers with IORING_FEAT_NATIVE_WORKERS

A few reasons to do this:

- The naming of the manager and worker have changed. That's a user visible
  change, so makes sense to flag it.

- Opening certain files that use ->signal (like /proc/self or /dev/tty)
  now works, and the flag tells the application upfront that this is the
  case.

- Related to the above, using signalfd will now work as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h