On Fri, Jun 21, 2013 at 06:32:36PM +0200, Jan Kara wrote: > This is not true. In case blocksize < pagesize and we were not able to > map a full page, mpage_map_and_submit_buffers() changes mpd->map to point > to the next extent inside the page that needs mapping. In that case we can > take several iterations of the loop. Maybe this fact deserves a comment > before the loop but there's a comment before the callsite of > mpage_map_and_submit_buffers() which mentions that it will get us next > extent to map and also the documentation of mpage_map_and_submit_buffers() > explicitely tells that it can update mpd->map. Ah, right. Thanks, I missed where that was happening the first time I was analyzing that function. I've dropped this patch. - Ted -- 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