linux/arch
Christoph Hellwig 3e08773c38 block: switch polling to be bio based
Replace the blk_poll interface that requires the caller to keep a queue
and cookie from the submissions with polling based on the bio.

Polling for the bio itself leads to a few advantages:

 - the cookie construction can made entirely private in blk-mq.c
 - the caller does not need to remember the request_queue and cookie
   separately and thus sidesteps their lifetime issues
 - keeping the device and the cookie inside the bio allows to trivially
   support polling BIOs remapping by stacking drivers
 - a lot of code to propagate the cookie back up the submission path can
   be removed entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 06:17:36 -06:00
..
alpha alpha: enable GENERIC_PCI_IOMAP unconditionally 2021-09-19 10:37:00 -07:00
arc ARC: fix potential build snafu 2021-10-15 18:06:32 -07:00
arm Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
arm64 Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
csky csky: Make HAVE_TCM depend on !COMPILE_TEST 2021-10-16 07:20:12 +08:00
h8300 Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
ia64 firmware: include drivers/firmware/Kconfig unconditionally 2021-10-07 16:51:26 +02:00
m68k block: switch polling to be bio based 2021-10-18 06:17:36 -06:00
microblaze Microblaze patches for 5.15-rc1 2021-09-08 16:02:13 -07:00
mips arch: remove spurious blkdev.h includes 2021-10-18 06:17:01 -06:00
nds32 nds32/setup: remove unused memblock_region variable in setup_memory() 2021-09-08 18:45:53 -07:00
nios2 NIOS2: setup.c: drop unused variable 'dram_start' 2021-09-27 08:34:54 -05:00
openrisc arch: remove spurious blkdev.h includes 2021-10-18 06:17:01 -06:00
parisc asm-generic: build fixes for v5.15 2021-10-08 11:57:54 -07:00
powerpc mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h> 2021-10-18 06:17:01 -06:00
riscv RISC-V Fixes for 5.15-rc5 2021-10-09 09:07:58 -07:00
s390 s390: fix strrchr() implementation 2021-10-12 13:07:37 +02:00
sh sh: pgtable-3level: fix cast to pointer from integer of different size 2021-09-24 16:13:35 -07:00
sparc sparc64: fix pci_iounmap() when CONFIG_PCI is not set 2021-09-20 10:56:32 -07:00
um block: drop unused includes in <linux/genhd.h> 2021-10-18 06:17:02 -06:00
x86 - Add Sapphire Rapids to the list of CPUs supporting the SMI count MSR 2021-10-17 17:34:18 -10:00
xtensa block: switch polling to be bio based 2021-10-18 06:17:36 -06:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00