From: Christoph Hellwig <hch@infradead.org>
To: Wang Yugui <wangyugui@e16-tech.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: a deadloop(?) when mkfs.xfs -o rtdev
Date: Wed, 16 Jul 2025 21:59:37 -0700 [thread overview]
Message-ID: <aHiDOTwl8lV1g0s1@infradead.org> (raw)
In-Reply-To: <20250717081332.E87F.409509F4@e16-tech.com>
On Thu, Jul 17, 2025 at 08:13:33AM +0800, Wang Yugui wrote:
>
> # pstack 5785
> #0 0x00007f8df5efc01a in pread64 () from /lib64/libc.so.6
> #1 0x0000557b7bbfe9c3 in __read_buf.constprop.0 ()
> #2 0x0000557b7bbc3030 in libxfs_buf_read_map ()
> #3 0x0000557b7bbfe1ae in libxfs_trans_read_buf_map.constprop ()
> #4 0x0000557b7bbee7ef in xfs_rtbuf_get ()
> #5 0x0000557b7bbf03d8 in libxfs_rtfree_extent ()
> #6 0x0000557b7bbbb322 in parseproto.lto_priv ()
> #7 0x0000557b7bbb7643 in main ()
This is reading the data from the main device for updating the bits on
the rt bitmap.
If you have a very larger rt device this can take a long time and might
not be stuck. And easy way to test that hypothesis would be to try
formatting with a very large RT exent size.
next prev parent reply other threads:[~2025-07-17 4:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 0:13 a deadloop(?) when mkfs.xfs -o rtdev Wang Yugui
2025-07-17 0:52 ` Wang Yugui
2025-07-17 4:59 ` Christoph Hellwig [this message]
2025-07-17 16:03 ` Darrick J. Wong
2025-07-18 0:58 ` Wang Yugui
2025-07-18 1:08 ` Wang Yugui
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=aHiDOTwl8lV1g0s1@infradead.org \
--to=hch@infradead.org \
--cc=linux-xfs@vger.kernel.org \
--cc=wangyugui@e16-tech.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.