On Fri, Jan 18, 2013 at 01:00:45PM +0100, Jan Kara wrote: > So far ext4_bio_writepage() unconditionally cleared dirty bit on all buffers > underlying the page. That implicitely assumes we can write all buffers. So > far that is true because callers call into ext4_bio_writepage() make sure > all buffers in the page are mapped but > a) it's a data corruption bug waiting to happen > b) in data=ordered mode when blocksize < pagesize we do need to write pages > that may have only some of dirty buffers mapped. > > So change ext4_bio_writepage() to skip buffers that cannot be written without > clearing their dirty bit. > > Signed-off-by: Jan Kara <jack@xxxxxxx> Thanks, applied. - 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