]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove limits on size of READ/WRITE operations.
authormav <mav@FreeBSD.org>
Thu, 24 Apr 2014 16:19:49 +0000 (16:19 +0000)
committermav <mav@FreeBSD.org>
Thu, 24 Apr 2014 16:19:49 +0000 (16:19 +0000)
commit61397be4e94b19058e284c012b1cc474897b0050
tree420ab639dbcbec51c198a0e72d2c870aaf971be7
parentdc51a2f9942024cd0123740e86ed23a7253d153c
Remove limits on size of READ/WRITE operations.

Instead of allocating up to 16MB or RAM at once to handle whole I/O,
allocate up to 1MB at a time, but do multiple ctl_datamove() and storage
I/Os if needed.
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_backend_block.c
sys/cam/ctl/ctl_backend_ramdisk.c