On 02/24/2011 10:15 AM, Yongqiang Yang wrote: > 1. lookup dirty pages with specified range in pagecache. > If no page is got, then there is no delayed-extent and > return with EXT_CONTINUE. > 2. find the 1st mapped buffer, > 3. check if the mapped buffer is both in the request range > and a delayed buffer. If not, there is no delayed-extent, > then return. > 4. a delayed-extent is found, the extent will be collected. This does seem to work now; I patched xfstests to do a run with and without sync, and both pass. The patches for xfstests are here: http://oss.sgi.com/pipermail/xfs/2011-February/049525.html http://oss.sgi.com/pipermail/xfs/2011-February/049527.html -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html