From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Assertion failure: sdp->sd_log_blks_free <= sdp->sd_jdesc->jd_blocks
Date: Tue, 19 Mar 2019 14:48:29 -0400 (EDT) [thread overview]
Message-ID: <745330930.13931854.1553021309310.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <fe00b6ce-7fb9-8769-0bc5-e830cebb1e75@citrix.com>
----- Original Message -----
> Hi,
>
> Occasionally during testing, we see the following assertion failure in
> log_pull_tail():
>
> [ 1104.061245] gfs2: fsid=xapi-clusterd:2d2cc24c-c48a-ca.0: fatal:
> assertion "atomic_read(&sdp->sd_log_blks_free) <=
> sdp->sd_jdesc->jd_blocks" failed
> [ 1104.061245] function = log_pull_tail, file = fs/gfs2/log.c, line = 510
>
> It always seems to happen shortly after journal recovery. I added some
> debug logging at the point of the assertion failure and got the following:
(snip)
> Any ideas about this?
>
> Thanks,
> --
> Ross Lagerwall
Hi Ross,
I've been fighting with/debugging multiple recovery problems for a long time now.
I've done countless (well, okay, thousands of) recovery tests and I can tell
you that gfs2 recovery has some major problems. These problems usually don't
occur when you have a few gfs2 mounts: they're much more likely when you have
lots of gfs2 mounts. I'm using 32 mounts.
The problem you mentioned sounds vaguely familiar, but I can't find anything
directly related. Make sure all your journals are the same size, and see if fsck.gfs2
complains about the journal. Otherwise, it could be a side effect of one of the
recovery issues I'm working on. Do you have other symptoms? Also, make sure
multiple nodes aren't trying to use the same journal because of lock_nolock or
something...I've made that mistake in the past.
Regards,
Bob Peterson
Red Hat File Systems
next prev parent reply other threads:[~2019-03-19 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-19 18:17 [Cluster-devel] Assertion failure: sdp->sd_log_blks_free <= sdp->sd_jdesc->jd_blocks Ross Lagerwall
2019-03-19 18:48 ` Bob Peterson [this message]
2019-03-22 18:15 ` Ross Lagerwall
2019-03-25 15:29 ` Bob Peterson
2019-03-27 14:40 ` Ross Lagerwall
2019-03-27 17:04 ` Bob Peterson
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=745330930.13931854.1553021309310.JavaMail.zimbra@redhat.com \
--to=rpeterso@redhat.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 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).