tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] GOP_ALLOC and fallocate for PUFFS
On 02 Oct 2014, at 17:23, Emmanuel Dreyfus <manu%netbsd.org@localhost> 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 - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
Home |
Main Index |
Thread Index |
Old Index