Searched hist:269123 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/cam/ctl/
H A Dctl_backend_block.cdiff 269123 Sat Jul 26 12:00:24 MDT 2014 mav 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

Completed in 67 milliseconds