[zfs-code] mappedwrite().
Hi. I'm pondering this piece of mappedwrite(): if (pp = page_lookup(vp, start, SE_SHARED)) { caddr_t va; rw_exit(&zp->z_map_lock); va = ppmapin(pp, PROT_READ | PROT_WRITE, (caddr_t)-1L); error = uiomove(va+off, bytes, UIO_WR
[zfs-code] mappedwrite().
Yes, its the same in Solaris. Its probably more correct to always to do the dmu_write() as this keeps the page and file in sync. -Mark Pawel Jakub Dawidek wrote: > Hi. > > I'm pondering this piece of mappedwrite(): > > if (pp = page_lookup(vp, start, SE_SHARED)) { > caddr_t