kernel - Add max I/O size cap to vmaxiosize()
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 2 Apr 2012 17:16:21 +0000 (10:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 2 Apr 2012 17:16:21 +0000 (10:16 -0700)
commit201cd6122f10d34494e93bdd304d21f94f3d0a29
tree43ba1e68594a910c0e300fe7d095d603e23d773a
parent504ea70edd28057243b94a4138cb4ac07bb5b9ed
kernel - Add max I/O size cap to vmaxiosize()

* Cap the returned value at MAXPHYS, allowing VCHR devices to set a
  higher max-IO limit (according to DMA limitations) without blowing
  out the pbuf's that the frontend uses to build clustered I/O.
sys/kern/vfs_subr.c