On Mon, Aug 23, 2010 at 05:10:15AM -0400, Christoph Hellwig wrote: > If xfs_map_blocks returns EAGAIN because of lock contention we must redirty > the page and not disard the pagecache content and return an error from > writepage. We used to do this correctly, but the logic got lost during > the recent reshuffle of the writepage code. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reported-by: Mike Gao <ygao.linux@xxxxxxxxx> > Tested-by: Mike Gao <ygao.linux@xxxxxxxxx> Looks good. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs