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 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?

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index