From cac019e583190201849cd072f5433fd00ec072c7 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 14 Jul 2023 14:22:24 +0200 Subject: [PATCH] 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 --- cmds/inspect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmds/inspect.c b/cmds/inspect.c index 7c3823e6..26fded8d 100644 --- a/cmds/inspect.c +++ b/cmds/inspect.c @@ -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%%");