commit | 80a773fbfc2d6b5b2478377e8ac271d495f55e73 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Wed May 07 18:17:06 2014 +0200 |
committer | Chris Mason <clm@fb.com> | Mon Jun 09 17:20:27 2014 -0700 |
tree | 3e32cba85039f51ae9dc5c189dbeb5f58de04989 | |
parent | 7d824b6f9cf28917d8a05891ef423fb0e4e34c69 [diff] |
btrfs: retrieve more info from FS_INFO ioctl Provide the basic information about filesystem through the ioctl: * b-tree node size (same as leaf size) * sector size * expected alignment of CLONE_RANGE and EXTENT_SAME ioctl arguments Backward compatibility: if the values are 0, kernel does not provide this information, the applications should ignore them. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>