[Ocfs2-devel] [PATCH 17/18] ocfs2: Handle missing filemap_fdatawait_range()

Joel Becker Joel.Becker at oracle.com
Thu Nov 12 18:27:28 PST 2009


On Thu, Nov 12, 2009 at 05:47:38PM -0800, Sunil Mushran wrote:
> Mainline commit 918941a3f3d46c2a69971b4718aaf13b1be2f1a7 replaced
> generic_file_aio_write_nolock() with __generic_file_aio_write()
> and made use of helpers filemap_fdatawrite_range() and filemap_fdatawait_range().
> 
> Patch adds macros to allow building with current and older EL5 kernels.

	Ok, if I remember correctly, the old
generic_file_aio_write_nlock() would do the sync work for us.  Please
add a comment in filemap_fdatawait_range.h about this so people don't
worry that the define becomes 0.

Joel

-- 

"Drake!  We're LEAVING!"

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list