Skip to content

Commit b3c40e7

Browse files
committed
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 <[email protected]>
1 parent 11f8fe7 commit b3c40e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmds/inspect.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -898,12 +898,12 @@ static int print_list_chunks(struct list_chunks_ctx *ctx, unsigned sort_mode,
898898
int j;
899899

900900
devid = e.devid;
901-
table_printf(table, 0, tabidx, ">PNumber");
902-
table_printf(table, 1, tabidx, ">Type");
901+
table_printf(table, 0, tabidx, ">Number");
902+
table_printf(table, 1, tabidx, ">Type/profile");
903903
table_printf(table, 2, tabidx, ">PStart");
904904
table_printf(table, 3, tabidx, ">Length");
905905
table_printf(table, 4, tabidx, ">PEnd");
906-
table_printf(table, 5, tabidx, ">Age");
906+
table_printf(table, 5, tabidx, ">LNumber");
907907
table_printf(table, 6, tabidx, ">LStart");
908908
if (with_usage) {
909909
table_printf(table, 7, tabidx, ">Usage%%");

0 commit comments

Comments
 (0)