summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-07-26 13:56:50 +0000
committermav <mav@FreeBSD.org>2014-07-26 13:56:50 +0000
commit56e0af05ed25b14a40f0e991e3324ad6513ea182 (patch)
treeacdf4187fc74231da05432d9ab23b42d4eeedec5 /rescue
parent55374f2c30a42a16311a4bb52d4c49e6ad7059c1 (diff)
downloadFreeBSD-src-56e0af05ed25b14a40f0e991e3324ad6513ea182.zip
FreeBSD-src-56e0af05ed25b14a40f0e991e3324ad6513ea182.tar.gz
Implement separate I/O dispatch method for ZVOLs in "dev" mode.
Unlike disk devices ZVOLs process all requests synchronously. That makes impossible sending multiple requests to them from single thread. From the other side ZVOLs have real d_read/d_write methods, which unlike d_strategy can handle uio scatter/gather and have no strict I/O size limitations. So, if ZVOL in "dev" mode is detected, use of d_read/d_write methods instead of d_strategy allows to avoid pointless splitting of large requests into MAXPHYS (128K) sized chunks. MFC after: 1 week
Diffstat (limited to 'rescue')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud