tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where does a vnode gets dirty?


> Hello
> When copying data to a vnode using ubc_alloc() ubc_uiomove() and
> ubc_release(), where does the kernel notes that data is dirty and will
> need to be written by VOP_PUTPAGE? Is it the responsability of the
> caller to request it (how?), or is it done somewhere in UBC?

VOP_GETPAGES marks the vnode dirty so that it will be processed by syncer.
see genfs_markdirty.


> -- 
> Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index