]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
block: replace the spin argument to blk_iopoll with a flags argument
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:19 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commitef99b2d37666b7a600baab9e1c4944436652b0a2
tree81457d0c9620f8c7311bf76d532670fa5d53074f
parent28a1ae6b9daba6ac65700eeb38479bd6fadec089
block: replace the spin argument to blk_iopoll with a flags argument

Switch the boolean spin argument to blk_poll to passing a set of flags
instead.  This will allow to control polling behavior in a more fine
grained way.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-10-hch@lst.de
[axboe: adapt to changed io_uring iopoll]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-exec.c
block/blk-mq.c
block/fops.c
fs/io_uring.c
fs/iomap/direct-io.c
include/linux/blkdev.h
include/linux/fs.h
include/linux/iomap.h
mm/page_io.c