linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFE: per-subvolume timestamp that is updated on every change to a subvolume
@ 2015-01-05 17:27 Lennart Poettering
  2015-01-05 18:59 ` Goffredo Baroncelli
  2015-01-06  6:02 ` Qu Wenruo
  0 siblings, 2 replies; 4+ messages in thread
From: Lennart Poettering @ 2015-01-05 17:27 UTC (permalink / raw)
  To: linux-btrfs

Heya!

I am looking for a nice way to query the overall last modification
timestamp of a subvolume. i.e. the most recent mtime of *any* file or
directory within a subvolume. Ideally, I think, there was a
btrfs_timespec field for this in "struct btrfs_root_item", alas there
isn't afaics. Any chance this can be added?

Or is there another workable way to query this value? Maybe determine
it from the current generation of a subvolume or so? Is that tracked?
Ideas?

Lennart

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-06  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 17:27 RFE: per-subvolume timestamp that is updated on every change to a subvolume Lennart Poettering
2015-01-05 18:59 ` Goffredo Baroncelli
2015-01-06  6:02 ` Qu Wenruo
2015-01-06  8:13   ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).