On Tue, Jan 06, 2015 at 11:43:22PM +1100, Chris Samuel wrote: > On Tue, 6 Jan 2015 10:47:00 PM Chris Samuel wrote: > > > On Mon, 5 Jan 2015 06:21:52 PM Lennart Poettering wrote: > > > > > It should be easy to initialize it to the mtime when the inode is > > > first created... > > > > This I agree with, well worth doing anyway. > > > > I'll see if I can knock up a patch. > > Sadly it appears that the btrfs code sets mtime/ctime/atimeat inode creation > via the normal filesystem inode structure, not through it's own, and as that > doesn't include otime I'm afraid it's out of my league. Worth a shot though!
Set the otime in btrfs_new_inode after the call to fill_inode_item. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html