Re: Extents for a particular subvolume

2016-08-15 Thread Graham Cobb
On 03/08/16 22:55, Graham Cobb wrote: > On 03/08/16 21:37, Adam Borowski wrote: >> On Wed, Aug 03, 2016 at 08:56:01PM +0100, Graham Cobb wrote: >>> 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) >>> subvolum

Re: Extents for a particular subvolume

2016-08-04 Thread Austin S. Hemmelgarn
On 2016-08-03 17:55, Graham Cobb wrote: On 03/08/16 21:37, Adam Borowski wrote: On Wed, Aug 03, 2016 at 08:56:01PM +0100, Graham Cobb wrote: 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

Re: Extents for a particular subvolume

2016-08-03 Thread Graham Cobb
On 03/08/16 21:37, Adam Borowski wrote: > On Wed, Aug 03, 2016 at 08:56:01PM +0100, Graham Cobb wrote: >> 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

Re: Extents for a particular subvolume

2016-08-03 Thread Adam Borowski
On Wed, Aug 03, 2016 at 08:56:01PM +0100, Graham Cobb wrote: > 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, prefer

Extents for a particular subvolume

2016-08-03 Thread Graham Cobb
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 t