linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Extents for a particular subvolume
@ 2016-08-03 19:56 Graham Cobb
  2016-08-03 20:37 ` Adam Borowski
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Cobb @ 2016-08-03 19:56 UTC (permalink / raw)
  To: linux-btrfs

Are there any btrfs commands (or APIs) to allow a script to create a
list of all the extents referred to within a particular (mounted)
subvolume?  And is it a reasonably efficient process (i.e. doesn't
involve backrefs and, preferably, doesn't involve following directory
trees)?

I am not looking to relate the extents to files/inodes/paths.  My
particular need, at the moment, is to work out how much of two snapshots
is shared data, but I can think of other uses for the information.

Graham

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

end of thread, other threads:[~2016-08-15 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 19:56 Extents for a particular subvolume Graham Cobb
2016-08-03 20:37 ` Adam Borowski
2016-08-03 21:55   ` Graham Cobb
2016-08-04 11:34     ` Austin S. Hemmelgarn
2016-08-15 19:18     ` Graham Cobb

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).