On 2017-08-13 07:50, Adam Hunt wrote:
Back in 2014 Ted Tso introduced the lazytime mount option for ext4 and
shortly thereafter a more generic VFS implementation which was then
merged into mainline. His early patches included support for Btrfs but
those changes were removed prior to the feature being merged. His
changelog includes the following note about the removal:

   - Per Christoph's suggestion, drop support for btrfs and xfs for now,
     issues with how btrfs and xfs handle dirty inode tracking.  We can add
     btrfs and xfs support back later or at the end of this series if we
     want to revisit this decision.

My reading of the current mainline shows that Btrfs still lacks any
support for lazytime. Has any thought been given to adding support for
lazytime to Btrfs?
It has bee at least lightly discussed (I forget the thread, but I did a reasonably specific explanation of the interaction of the *atime and lazytime options in a thread a while back when trying to explain to someone why I wanted to be able to run with noatime and lazytime), but I don't think the discussion got anywhere.

I would personally love to see support for it myself (or you know, at least have some warning that it isn't supported instead of just silently accepting and ignoring it like we do currently), but I unfortunately don't have the time or expertise to work on implementing it. If someone does post a patch though, I'll be more than happy to throw a few dozen VM's at testing it.
--
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

Reply via email to