public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3 v2] btrfs-progs: dump-super: fix dump-super on aarch64
@ 2023-06-27  8:53 Anand Jain
  2023-06-27  8:53 ` [PATCH 1/3] btrfs-progs: dump-super: improve error log Anand Jain
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Anand Jain @ 2023-06-27  8:53 UTC (permalink / raw)
  To: linux-btrfs

v2: Skip sbreads() for sb bytenr greater the device size.

The command "btrfs inspect dump-super -a" is failing on aarch64 systems.
The following set of patches resolves the issue. Patch 1/3 is enhancing
the error log it helped debug the issue. Patch 2/3 preparatory. Patch
3/3 provides the fix.

Anand Jain (3):
  btrfs-progs: dump-super: improve error log
  btrfs-progs: dump_super: drop the label out and variable ret
  btrfs-progs: dump-super: fix read beyond device size

 cmds/inspect-dump-super.c | 40 ++++++++++++++++++++++++++-------------
 1 file changed, 27 insertions(+), 13 deletions(-)

-- 
2.39.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-29  4:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27  8:53 [PATCH 0/3 v2] btrfs-progs: dump-super: fix dump-super on aarch64 Anand Jain
2023-06-27  8:53 ` [PATCH 1/3] btrfs-progs: dump-super: improve error log Anand Jain
2023-06-27  9:16   ` Qu Wenruo
2023-06-27  8:53 ` [PATCH 2/3] btrfs-progs: dump_super: drop the label out and variable ret Anand Jain
2023-06-27  9:16   ` Qu Wenruo
2023-06-27  8:53 ` [PATCH 3/3] btrfs-progs: dump-super: fix read beyond device size Anand Jain
2023-06-27  9:17   ` Qu Wenruo
2023-06-28 21:41   ` David Sterba
2023-06-29  4:39     ` Anand Jain
2023-06-28 21:42 ` [PATCH 0/3 v2] btrfs-progs: dump-super: fix dump-super on aarch64 David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox