Files
mirror_zfs/include/os/linux/spl/sys
Tony Hutter e860cb0200 zvol: Remove broken blk-mq optimization
This fix removes a dubious optimization in zfs_uiomove_bvec_rq()
that saved the iterator contents of a rq_for_each_segment().  This
optimization allowed restoring the "saved state" from a previous
rq_for_each_segment() call on the same uio so that you wouldn't
need to iterate though each bvec on every zfs_uiomove_bvec_rq() call.
However, if the kernel is manipulating the requests/bios/bvecs under
the covers between zfs_uiomove_bvec_rq() calls, then it could result
in corruption from using the "saved state".  This optimization
results in an unbootable system after installing an OS on a zvol
with blk-mq enabled.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #15351
2023-11-06 16:47:24 -08:00
..
2023-01-24 09:04:39 -08:00
2022-01-26 11:38:52 -08:00
2021-06-07 09:02:47 -07:00
2023-04-25 16:05:45 -07:00
2022-01-26 11:38:52 -08:00
2022-05-13 10:15:31 -07:00
2022-10-28 09:49:20 -07:00
2023-06-26 13:57:12 -07:00
2023-11-06 16:47:24 -08:00
2022-09-20 15:32:44 -07:00
2020-10-31 09:40:08 -07:00
2021-05-27 14:27:29 -06:00
2022-06-10 09:51:46 -07:00