On Fri, 2007-10-05 at 12:57 +0200, Peter Zijlstra wrote:Why would we want to do that? That would be a hell of a lot of work (locking pages, setting flags, unlocking pages, ...) for absolutely no reason. Unstable writes are writes which have been sent to the server, but which haven't been written to disk on the server. A single RPC command is then sent (COMMIT) which basically tells the server to call fsync(). After that is successful, we can free up the pages, but we do that with no extra manipulation of the pages themselves: no page locks, just removal from the NFS private radix tree, and freeing up of the NFS private structures. We only need to touch the pages again in the unlikely case that the COMMIT fails because the server has rebooted. In this case we have to resend the writes, and so the pages are marked as dirty, so we can go through the whole writepages() rigmarole again... So, no. I don't see sending pages through pageout() as being at all helpful. Trond -
| Linus Torvalds | Linux 2.6.21 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Josef 'Jeff' Sipek | [PATCH 02/24] lookup_one_len_nd - lookup_one_len with nameidata argument |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| David Miller | [PATCH]: Preliminary release of Sun Neptune driver |
