On 02 Oct 2014, at 19:09, Emmanuel Dreyfus <m...@netbsd.org> wrote: > J. Hannken-Illjes <hann...@eis.cs.tu-bs.de> wrote: > >> Please describe "cached write operation" in terms of vnode operations. > > A write on a mount that uses page cache, without direct I/O. > >> Which vnode operation finally calls GOP_ALLOC()? > > From genfs, only VOP_GETPAGES, but I understand we should call it on our > own. For instance, UFS calls it through ufs_balloc_range() in VOP_WRITE.
Ok -- if you want to use it, you have to implement it on the client side as puffs has no idea how to allocate blocks -- right? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)