[Ocfs2-devel] [PATCH 4/4] ocfs2: make mmap CoW work with readahead.
Joel Becker
Joel.Becker at oracle.com
Tue Jun 29 16:24:23 PDT 2010
On Tue, Jun 29, 2010 at 04:35:41PM +0800, Tao Ma wrote:
> refcount_cow need file * to do the readahead.
> So we just add 'struct file *' to ocfs2_write_begin_nolock
> and __ocfs2_page_mkwrite and let them pass this parameter
> to ocfs2_refcount_cow.
As I stated in my comment on the first patch, these functions
only need the file*. The inode can be gotten off of that.
Joel
--
"I have never let my schooling interfere with my education."
- Mark Twain
Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list