https://bugzilla.kernel.org/show_bug.cgi?id=50981 --- Comment #5 from Zheng Liu <gnehzuil.liu@xxxxxxxxx> 2012-11-26 11:18:38 --- (In reply to comment #4) > Yes, that's what I said XFS has its own read/write exclusion. However we're > reading/writing a single page here and page read/write shoud be atomic so we > should _not_ see page with mixed data. Basically the page should be locked when > we copy data from/to it, Sorry, as my understanding, a page won't be locked when it is accessed if it has been mark uptodate. If we write a page that has been written recently, the uptodate flag won't be clear. So reader won't try to lock page, and maybe that is not atomic. Am I missing something? Regards, Zheng -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- 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