Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
Jens Axboe authored
[ Upstream commit b0beb280 ]

This reverts commit c58c1f83

.

io_uring does do the right thing for this case, and we're still returning
-EAGAIN to userspace for the cases we don't support. Revert this change
to avoid doing endless spins of resubmits.

Cc: stable@vger.kernel.org # v5.6
Reported-by: default avatarBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
bba91cdb
Name Last commit Last update
..
partitions docs: admin-guide: add a series of orphaned documents
Kconfig blkcg: implement blk-iocost
Kconfig.iosched docs: block: convert to ReST
Makefile blkcg: implement blk-iocost
badblocks.c block: switch all files cleared marked as GPLv2 to SPDX tags
bfq-cgroup.c block, bfq: invoke flush_idle_tree after reparent_active_queues in pd_offline
bfq-iosched.c block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
bfq-iosched.h block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
bfq-wf2q.c block, bfq: get a ref to a group when adding it to a service tree
bio-integrity.c block: fix memleak of bio integrity data
bio.c block: fix memleak of bio integrity data
blk-cgroup.c blkcg: make blkcg_print_stat() print stats only for online blkgs
blk-core.c Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
blk-exec.c block: add SPDX tags to block layer files missing licensing information
blk-flush.c blk-mq: insert passthrough request into hctx->dispatch directly
blk-integrity.c block: centralize PI remapping logic to the block layer
blk-ioc.c block: Fix use-after-free issue accessing struct io_cq
blk-iocost.c iocost: protect iocg->abs_vdebt with iocg->waitq.lock
blk-iolatency.c blkcg: s/RQ_QOS_CGROUP/RQ_QOS_LATENCY/
blk-lib.c block: fix 32 bit overflow in __blkdev_issue_discard()
blk-map.c block: fix memleak when __blk_rq_map_user_iov() is failed
blk-merge.c block: Improve physical block alignment of split bios
blk-mq-cpumap.c blk-mq: balance mapping between present CPUs and queues
blk-mq-debugfs-zoned.c block: Cleanup license notice
blk-mq-debugfs.c Merge tag 'for-5.3/block-20190708' of git://git.kernel.dk/linux-block
blk-mq-debugfs.h
blk-mq-pci.c
blk-mq-rdma.c
blk-mq-sched.c
blk-mq-sched.h
blk-mq-sysfs.c
blk-mq-tag.c
blk-mq-tag.h
blk-mq-virtio.c
blk-mq.c
blk-mq.h
blk-pm.c
blk-pm.h
blk-rq-qos.c
blk-rq-qos.h
blk-settings.c
blk-softirq.c
blk-stat.c
blk-stat.h
blk-sysfs.c
blk-throttle.c
blk-timeout.c
blk-wbt.c
blk-wbt.h
blk-zoned.c
blk.h
bounce.c
bsg-lib.c
bsg.c
cmdline-parser.c
compat_ioctl.c
elevator.c
genhd.c
ioctl.c
ioprio.c
kyber-iosched.c
mq-deadline.c
opal_proto.h
partition-generic.c
scsi_ioctl.c
sed-opal.c
t10-pi.c