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
..
2021-10-18 06:17:36 -06:00
2021-06-25 15:25:24 -04:00
2019-11-05 14:53:03 -05:00
2020-01-07 12:07:08 -05:00
2021-10-18 06:17:02 -06:00
2021-03-04 14:53:54 -05:00
2021-01-24 18:15:57 -07:00
2021-08-10 13:34:23 -04:00
2021-04-19 13:20:31 -04:00
2020-03-27 14:42:51 -04:00
2021-10-12 13:54:10 -04:00
2021-08-10 13:32:40 -04:00
2021-10-18 06:17:02 -06:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-31 14:55:09 -07:00
2021-08-10 13:34:23 -04:00
2019-05-16 15:55:48 -07:00
2021-08-10 13:34:23 -04:00
2021-10-18 06:17:01 -06:00
2021-08-20 15:59:47 -04:00
2020-08-04 15:51:28 -04:00
2021-08-31 14:55:09 -07:00
2021-06-28 16:30:13 -04:00
2021-02-26 15:49:51 -07:00
2021-08-10 13:34:23 -04:00
2021-06-15 15:42:03 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-20 16:07:36 -04:00
2020-05-15 10:29:36 -04:00
2021-10-18 06:17:01 -06:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-10-18 06:17:01 -06:00
2019-03-05 14:48:50 -05:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2020-05-20 17:09:44 -04:00
2021-08-10 13:34:23 -04:00
2021-08-10 13:34:23 -04:00
2021-10-18 06:17:02 -06:00
2019-04-25 15:38:52 -04:00
2021-06-04 12:07:22 -04:00
2019-12-05 17:05:24 -05:00
2021-08-10 13:34:23 -04:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2021-08-10 13:34:23 -04:00
2021-04-14 14:28:29 -04:00
2021-04-14 14:28:29 -04:00
2021-10-18 06:17:02 -06:00
2021-05-25 16:14:05 -04:00
2020-08-04 15:48:13 -04:00
2020-07-13 11:47:33 -04:00
2021-08-10 13:34:23 -04:00
2020-12-04 18:04:35 -05:00
2021-06-25 15:25:23 -04:00
2021-06-04 12:07:28 -04:00
2021-06-04 12:07:24 -04:00
2021-08-10 13:34:23 -04:00
2020-06-05 14:59:53 -04:00
2021-10-18 06:17:36 -06:00
2021-06-04 12:07:37 -04:00
2021-08-16 10:50:32 -06:00
2021-08-10 13:32:40 -04:00
2020-08-23 17:36:59 -05:00
2021-06-14 22:32:07 -07:00
2020-12-16 13:09:32 -08:00
2021-06-14 22:32:07 -07:00
2021-06-14 22:32:07 -07:00
2020-05-13 12:02:23 -07:00
2021-06-14 22:32:07 -07:00
2021-10-18 06:17:36 -06:00
2021-08-12 10:29:36 -06:00
2021-06-14 22:32:06 -07:00
2019-09-13 13:10:05 -07:00
2019-06-15 01:37:35 -06:00
2021-08-30 19:01:46 -07:00
2021-06-14 22:32:07 -07:00
2021-03-11 07:47:48 -07:00
2019-03-12 10:15:18 -07:00
2021-03-11 07:47:48 -07:00
2021-08-28 01:46:17 +02:00
2020-09-24 16:44:44 -07:00
2021-08-30 19:01:46 -07:00
2021-06-14 22:32:07 -07:00