Christoph Hellwig
9bb33f24ab
block: refactor the bounce buffering code
...
Get rid of all the PFN arithmetics and just use an enum for the two
remaining options, and use PageHighMem for the actual bounce decision.
Add a fast path to entirely avoid the call for the common case of a queue
not using the legacy bouncing code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210331073001.46776-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-04-06 09:28:17 -06:00
..
2021-02-28 20:12:02 -07:00
2020-08-23 17:36:59 -05:00
2021-03-25 10:50:07 -06:00
2021-03-25 10:50:07 -06:00
2021-03-25 10:50:07 -06:00
2021-03-25 10:50:07 -06:00
2021-04-06 09:28:17 -06:00
2021-03-11 07:47:48 -07:00
2021-03-05 11:32:15 -07:00
2019-11-07 12:28:13 -07:00
2021-02-21 11:02:48 -08:00
2021-04-06 09:28:17 -06:00
2021-03-11 07:47:48 -07:00
2020-10-05 10:47:43 -06:00
2021-02-11 09:45:25 -05:00
2021-01-29 07:43:29 -07:00
2021-01-27 09:51:48 -07:00
2020-10-06 07:29:53 -06:00
2020-07-16 10:22:15 -06:00
2021-01-05 11:33:32 -07:00
2020-10-08 07:59:48 -06:00
2021-03-11 07:47:48 -07:00
2021-04-06 09:28:17 -06:00
2021-01-24 18:17:20 -07:00
2020-10-20 07:08:17 -06:00
2019-01-17 21:21:40 -07:00
2021-03-01 10:15:07 -07:00
2019-06-13 03:00:30 -06:00
2019-05-31 15:12:34 -06:00
2019-05-31 15:12:34 -06:00
2021-03-01 10:15:07 -07:00
2021-02-22 06:37:41 -07:00
2020-10-09 12:46:28 -06:00
2021-04-06 09:24:07 -06:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2021-02-22 10:53:05 -08:00
2021-01-24 21:25:17 -07:00
2020-12-09 11:41:41 -05:00
2021-02-22 06:33:48 -07:00
2020-07-15 09:33:37 -06:00
2019-10-15 10:13:13 -06:00
2021-04-06 09:28:17 -06:00
2020-09-01 16:48:46 -06:00
2018-12-12 06:47:51 -07:00
2021-04-06 09:23:23 -06:00
2021-01-24 18:17:20 -07:00
2020-07-31 16:29:47 -06:00
2021-01-26 13:13:00 -07:00
2020-05-29 16:30:39 -06:00
2021-03-11 11:49:25 -07:00
2021-04-06 09:28:17 -06:00
2021-04-06 09:28:17 -06:00
2020-09-23 09:18:13 -06:00
2021-01-24 21:52:39 -07:00
2017-11-02 11:10:55 +01:00
2020-10-09 12:34:06 -06:00
2021-03-11 11:48:25 -07:00
2021-02-23 19:23:22 -07:00
2020-09-01 19:38:33 -06:00
2020-09-01 16:49:26 -06:00
2020-06-14 01:57:21 +09:00
2021-02-22 10:22:54 -08:00
2021-02-22 12:37:57 -07:00
2020-06-24 09:15:56 -06:00
2021-02-22 06:37:41 -07:00
2020-03-12 08:00:10 -06:00
2021-04-06 09:28:17 -06:00
2020-03-12 08:00:10 -06:00
2020-01-06 20:59:04 -07:00