mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-30 23:54:10 +08:00
btrfs-progs: list-chunks: update column names
Make the column names more descriptive, PNumber is from times when there was only physical sort. Make the type/profile more explicit, later it can be filtered by that. The 'Age' reflects the current allocation strategy to always pick a higher number but this could become confusing, it's really the number when sorted by logical offset. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
8d2843afca
commit
cac019e583
@ -898,12 +898,12 @@ static int print_list_chunks(struct list_chunks_ctx *ctx, unsigned sort_mode,
|
||||
int j;
|
||||
|
||||
devid = e.devid;
|
||||
table_printf(table, 0, tabidx, ">PNumber");
|
||||
table_printf(table, 1, tabidx, ">Type");
|
||||
table_printf(table, 0, tabidx, ">Number");
|
||||
table_printf(table, 1, tabidx, ">Type/profile");
|
||||
table_printf(table, 2, tabidx, ">PStart");
|
||||
table_printf(table, 3, tabidx, ">Length");
|
||||
table_printf(table, 4, tabidx, ">PEnd");
|
||||
table_printf(table, 5, tabidx, ">Age");
|
||||
table_printf(table, 5, tabidx, ">LNumber");
|
||||
table_printf(table, 6, tabidx, ">LStart");
|
||||
if (with_usage) {
|
||||
table_printf(table, 7, tabidx, ">Usage%%");
|
||||
|
Loading…
Reference in New Issue
Block a user