linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <johannes.thumshirn@wdc.com>
To: linux-btrfs@vger.kernel.org
Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Subject: [PATCH 1/2] btrfs-progs: remove stride length from tree dump
Date: Thu, 05 Oct 2023 23:58:02 -0700	[thread overview]
Message-ID: <20231005-rst-update-v1-1-7ea5b3c6ac61@wdc.com> (raw)
In-Reply-To: <20231005-rst-update-v1-0-7ea5b3c6ac61@wdc.com>

Fixes: ecd6fb44c172 ("btrfs-progs: add dump tree support for the raid stripe tree")
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
 kernel-shared/print-tree.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel-shared/print-tree.c b/kernel-shared/print-tree.c
index 26524a13304c..7ec9035567f7 100644
--- a/kernel-shared/print-tree.c
+++ b/kernel-shared/print-tree.c
@@ -681,10 +681,9 @@ static void print_raid_stripe_key(struct extent_buffer *eb,
 
 	printf("\t\t\tencoding: %s\n", stripe_encoding_name(encoding));
 	for (int i = 0; i < num_stripes; i++)
-		printf("\t\t\tstripe %d devid %llu physical %llu length %llu\n", i,
+		printf("\t\t\tstripe %d devid %llu physical %llu\n", i,
 		       (unsigned long long)btrfs_raid_stride_devid_nr(eb, stripe, i),
-		       (unsigned long long)btrfs_raid_stride_offset_nr(eb, stripe, i),
-		       (unsigned long long)btrfs_raid_stride_length_nr(eb, stripe, i));
+		       (unsigned long long)btrfs_raid_stride_offset_nr(eb, stripe, i));
 }
 
 void print_key_type(FILE *stream, u64 objectid, u8 type)

-- 
2.41.0


  reply	other threads:[~2023-10-06  6:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06  6:58 [PATCH 0/2] btrfs-progs: update on-disk format for raid-stripe-tree Johannes Thumshirn
2023-10-06  6:58 ` Johannes Thumshirn [this message]
2023-10-06  6:58 ` [PATCH 2/2] btrfs-progs: remove stride length from on-disk format Johannes Thumshirn
2023-10-06 15:27 ` [PATCH 0/2] btrfs-progs: update on-disk format for raid-stripe-tree David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231005-rst-update-v1-1-7ea5b3c6ac61@wdc.com \
    --to=johannes.thumshirn@wdc.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).