linux/drivers/s390/block
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
..
dasd_3990_erp.c s390/dasd: Fix comment spelling 2020-03-17 20:50:19 +01:00
dasd_alias.c s390/dasd: fix list corruption of lcu list 2020-12-17 13:41:30 -07:00
dasd_devmap.c s390/dasd: let driver core manage the sysfs attributes 2021-03-16 08:31:00 -06:00
dasd_diag.c dasd: use bvec_virt 2021-08-16 10:50:33 -06:00
dasd_diag.h
dasd_eckd.c for-5.15/block-2021-08-30 2021-08-30 18:52:11 -07:00
dasd_eckd.h s390/dasd: Avoid field over-reading memcpy() 2021-07-01 09:27:04 -06:00
dasd_eer.c s390/dasd: Handle out-of-space constraint 2019-07-11 20:39:54 +02:00
dasd_erp.c
dasd_fba.c dasd: use bvec_virt 2021-08-16 10:50:33 -06:00
dasd_fba.h s390/dasd: fix typo in copyright statement 2019-12-20 11:52:01 -07:00
dasd_genhd.c block: drop unused includes in <linux/genhd.h> 2021-10-18 06:17:02 -06:00
dasd_int.h s390/dasd: add missing discipline function 2021-05-25 12:54:00 -06:00
dasd_ioctl.c s390/dasd: remove debug printk 2021-07-27 09:39:14 +02:00
dasd_proc.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
dasd.c dasd: unexport dasd_set_target_state 2021-07-01 09:27:04 -06:00
dcssblk.c block: switch polling to be bio based 2021-10-18 06:17:36 -06:00
Kconfig s390: remove xpram device driver 2021-09-07 13:38:42 +02:00
Makefile s390: remove xpram device driver 2021-09-07 13:38:42 +02:00
scm_blk.c scm_blk: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:54:43 -06:00
scm_blk.h
scm_drv.c s390/scm: Make struct scm_driver::remove return void 2021-07-21 11:53:42 +02:00