[PATCH] replace sync_page_range() with generic_write_sync() in file-io.c

John Johansen john.johansen at canonical.com
Fri Dec 4 22:37:44 UTC 2009


Manoj Iyer wrote:
> ----
> resending patch, my previous mail bounced coz of membership requirement
> ----
> 
> sync_page_range() was recently removed from 2.6, this causes the
> iscsi-target build to fail in file-io.c. possibly sync_page_range() can be
> replaced with generic_write_sync() ?
> 
yeah they basically do the same thing though it looks like generic_write_sync
can be heavier than what is needed in some cases.  See
http://lkml.org/lkml/2009/8/19/330

I haven't followed through to check whether this is the case with iscsi-target
yet.




More information about the kernel-team mailing list