path: root/btrfs-debugfs
Commit message (Collapse)AuthorAge
* btrfs-progs: right-align number columns in btrfs-debugfs outputHolger Hoffstätte2017-10-06
| | | | | | | | | | | | The values for block group offset, length etc. in btrfs-debugfs' output are left-aligned, which creates unaligned output and makes the usage percentage hard to read/process further. This patch adds right-aligning format specifiers for the number values. Ideally the format values wouldn't be hardcoded but instead derived from the filesystem size, but this seems to work for now. Signed-off-by: Holger Hoffstätte <> Signed-off-by: David Sterba <>
* btrfs-progs: btrfs-debugfs: cleanup unused variables reported by pylintLakshmipathi.G2016-10-24
| | | | | Signed-off-by: Lakshmipathi.G <> Signed-off-by: David Sterba <>
* btrfs-progs: typo review of strings and commentsNicholas D Steeves2016-06-01
| | | | | Signed-off-by: Nicholas D Steeves <> Signed-off-by: David Sterba <>
* btrfs-progs: btrfs-debugfs: fetch block group informationLiu Bo2016-03-16
| | | | | | | | | This aims to decide whether a balance can reduce the number of data block groups and if it is, this shows the '-dvrange' block group's objectid. Signed-off-by: Liu Bo <> Signed-off-by: David Sterba <>
* btrfs-progs: Add simple python front end to the search ioctlChris Mason2014-12-04
This is a starting point for a debugfs style python interface using the search ioctl. For now it can only do one thing, which is to print out all the extents in a file and calculate the compression ratio. Over time it will grow more features, especially for the kinds of things we might run btrfs-debug-tree to find out. Expect the usage and output to change dramatically over time (don't hard code to it). Signed-off-by: Chris Mason <> Signed-off-by: David Sterba <>