No description
Find a file
Jens Axboe d717dcf122 io_uring: allow retry for O_NONBLOCK if async is supported
commit 5d329e1286 upstream.

A common complaint is that using O_NONBLOCK files with io_uring can be a
bit of a pain. Be a bit nicer and allow normal retry IFF the file does
support async behavior. This makes it possible to use io_uring more
reliably with O_NONBLOCK files, for use cases where it either isn't
possible or feasible to modify the file flags.

Cc: stable@vger.kernel.org
Reported-and-tested-by: Dan Melnic <dmm@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 12:39:17 +02:00
arch arm64/sve: Use correct size when reinitialising SVE state 2021-09-22 12:39:15 +02:00
block scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND 2021-09-18 13:43:26 +02:00
certs certs: Trigger creation of RSA module signing key if it's not an RSA key 2021-09-15 10:02:09 +02:00
crypto crypto: ecc - handle unaligned input buffer in ecc_swap_digits 2021-09-15 10:02:07 +02:00
Documentation drm/panel: Fix up DT bindings for Samsung lms397kf04 2021-09-18 13:43:36 +02:00
drivers drm/radeon: pass drm dev radeon_agp_head_init directly 2021-09-22 12:39:16 +02:00
fs io_uring: allow retry for O_NONBLOCK if async is supported 2021-09-22 12:39:17 +02:00
include mm/hugetlb: initialize hugetlb_usage in mm_init 2021-09-18 13:44:02 +02:00
init init: Suppress wrong warning for bootconfig cmdline parameter 2021-08-12 13:35:57 -04:00
ipc Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
kernel tracing/osnoise: Fix missed cpus_read_unlock() in start_per_cpu_kthreads() 2021-09-18 13:44:05 +02:00
lib lib/test_stackinit: Fix static initializer test 2021-09-18 13:44:03 +02:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm mm/mempolicy: fix a race between offset_il_node and mpol_rebind_task 2021-09-18 13:44:02 +02:00
net fix array-index-out-of-bounds in taprio_change 2021-09-18 13:44:00 +02:00
samples samples: pktgen: fix to print when terminated normally 2021-09-18 13:43:56 +02:00
scripts parisc: Fix compile failure when building 64-bit kernel natively 2021-09-18 13:44:00 +02:00
security Smack: Fix wrong semantics in smk_access_entry() 2021-09-18 13:43:38 +02:00
sound ASoC: soc-pcm: protect BE dailink state changes in trigger 2021-09-18 13:43:57 +02:00
tools selftests/bpf: Fix potential unreleased lock 2021-09-18 13:43:59 +02:00
usr .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
virt KVM: Do not leak memory for duplicate debugfs directories 2021-08-04 06:02:03 -04:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap m68k updates for v5.14 2021-06-28 14:01:03 -07:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: move Murali Karicheri to credits 2021-04-29 15:47:30 -07:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: exfat: update my email address 2021-08-25 12:25:12 -07:00
Makefile Linux 5.14.6 2021-09-18 13:44:05 +02:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.