On Fri, Aug 16, 2013 at 02:11:23PM -0600, Chris Murphy wrote:
> 
> On Aug 16, 2013, at 12:02 PM, Chris Murphy <[email protected]> wrote:
> 
> > When a Btrfs multiple device volume is shrunk resized, it directly affects 
> > the partition size…
> 
> Oops, this obviously happens with single or multiple device.
> 
> I also think the command needs to return some information about
> exactly where the end of the file system is, maybe in file system
> blocks? resize2fs states the number of fs blocks in the fs, after a
> resize. From that I can figure out the exact ending LBA needed when
> changing the partition table. Btrfs leaves me totally guessing what
> this value should be.

It should be possible to obtain the information from the device tree via
the SEARCH_TREE ioctl.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to