From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: cluster: RHEL5 - gfs-kmod: workaround for bz472062. Prefault user pages
Date: Wed, 19 Nov 2008 06:28:36 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0811190628070.17722@trider-g7> (raw)
In-Reply-To: <20081118160042.326A8C046B@lists.fedorahosted.org>
On Tue, 18 Nov 2008, Benjamin Marzinski wrote:
> Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f8db02213bbab00d8852ab889d92a921197ce20d
> Commit: f8db02213bbab00d8852ab889d92a921197ce20d
> Parent: 1296918baf0672815611aedcd537f9d558ceefd6
> Author: Benjamin Marzinski <bmarzins@redhat.com>
> AuthorDate: Tue Nov 18 09:57:56 2008 -0600
> Committer: Benjamin Marzinski <bmarzins@redhat.com>
> CommitterDate: Tue Nov 18 09:57:56 2008 -0600
>
> gfs-kmod: workaround for bz472062. Prefault user pages
>
> The bug uncovered in 472062 does not seem fixable without a massive
> change to how gfs works. There is a lock ordering mismatch between
> the process address space lock and the glocks. The only good way to
> avoid this in all cases is to not hold the glock for so long, which
> is what gfs2 does. This is impossible without completely changing
> how gfs does locking. Fortunately, this is only a problem when you
> have multiple processes sharing an address space, and are doing IO
> to a gfs file with a userspace buffer that's part of an mmapped gfs
> file. In this case, prefaulting the buffer's pages immediately
> before acquiring the glocks significantly shortens the window for
> this deadlock. Closing the window any more causes a large
> performance hit.
Is this fix suitable for master and STABLE2 branches as well?
Fabio
--
I'm going to make him an offer he can't refuse.
parent reply other threads:[~2008-11-19 5:28 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20081118160042.326A8C046B@lists.fedorahosted.org>]
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=Pine.LNX.4.64.0811190628070.17722@trider-g7 \
--to=fdinitto@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).