Re: VNOP_PAGEIN doubt
Re: VNOP_PAGEIN doubt
- Subject: Re: VNOP_PAGEIN doubt
- From: anubhav rakshit <email@hidden>
- Date: Wed, 23 Sep 2009 15:16:47 +0530
You mention afs in passing; are you asking in hopes of delaying an over-the-wire open? As soon as a file system vends a vnode out to the VFS layer, the file is for all intents and purposes open until the VFS layer decides to vrele it back to you so you can do whatever with the FS specific information hung off the v_data and vrele the vnode itself back to the shared vnode pool. If you vend it, you need to be prepared to take any subsequent VNOP calls and handle them for as long as the vnode stays vended. So no delayed or implied opens allowed: you vend it or you fail the lookup.
By "afs" i meant "Anubhav FS" . Its a hypothetical name.I am not planning to delay an OTW open.What i need to know is when a file is being paged in, is it because the user is going to write on the mapped area or is he reading?
--
Anubhav Rakshit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden