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 19:09, Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> 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 - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)



Home | Main Index | Thread Index | Old Index