[PATCH 10/22] CacheFiles: Add a hook to write a single page of data to an inode

2007-09-21 Thread David Howells
Add an address space operation to write one single page of data to an inode at a page-aligned location (thus permitting the implementation to be highly optimised). This is used by CacheFiles to store the contents of netfs pages into their backing file pages. Supply a generic implementation for

Re: [PATCH 10/22] CacheFiles: Add a hook to write a single page of data to an inode

2007-09-21 Thread David Howells
Trond Myklebust [EMAIL PROTECTED] wrote: So why do you need a new address space operation? AFAICS the generic implementation will work for pretty much everyone who supports the existing prepare_write()/commit_write(). Because Christoph decreed that I wasn't allowed to call prepare_write() and