On 02 Oct 2014, at 17:23, Emmanuel Dreyfus <m...@netbsd.org> wrote: > On Thu, Oct 02, 2014 at 12:02:39PM +0200, J. Hannken-Illjes wrote: >> GOP_ALLOC() gets called from VOP_GETPAGES() for missing pages. Here you >> run VOP_PUTPAGES() on a range known to be unmapped so it becomes a NOP. >> >> GOP_ALLOC() aka puffs_gop_alloc() has to run on the client to make >> sure the pages in question are allocated and may be faulted in. > > You mean I have to run VOP_GETPAGES at the beginning of a cached > write operation?
Please describe "cached write operation" in terms of vnode operations. Which vnode operation finally calls GOP_ALLOC()? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)