2012/01/31 2:52, Jan Kara wrote:
Thanks for the patches. This is true for ordinary writes but not true when you write via mmap. We call file_update_time() during page fault so ctime won't be completely wrong but still we should update it after block is allocated during writeback to reflect that new block is allocated to the inode.
Should we update ctime whenever a block is allocated? If so, ordinary write in ext4 with indirect block mapping has the same problem due to the following patch, right? http://marc.info/?l=linux-ext4&m=124505184027078&w=4 Regards, Kazuya Mio -- 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