From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Ion Badulescu <ionut@cs.columbia.edu>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Andrea Arcangeli <andrea@suse.de>, <linux-kernel@vger.kernel.org>
Subject: Re: 2.2.19 locks up on SMP
Date: Tue, 1 May 2001 14:09:28 +0200 [thread overview]
Message-ID: <15086.42872.321353.67228@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.33.0105010140270.12259-100000@age.cs.columbia.edu>
In-Reply-To: <Pine.LNX.4.33.0105010051490.12259-100000@age.cs.columbia.edu> <Pine.LNX.4.33.0105010140270.12259-100000@age.cs.columbia.edu>
>>>>> " " == Ion Badulescu <ionut@cs.columbia.edu> writes:
> On Tue, 1 May 2001, Ion Badulescu wrote:
>> I'll do another test, 2.2.18 + the NFS/SunRPC changes, and see
>> how it goes. Hopefully they'll apply easily...
> As I suspected, 2.2.18 + all the NFS/NFSd/SunRPC changes
> present in 2.2.19pre10 locks up with wait_on_bh as soon as I
> run ls -lR on a large NFS directory tree, while at the same
> time pummeling the network and the local disks.
> NFS is not enough to trigger the bug, the extra disk/network
> stress *is* necessary. The network stress actually seems to be
> enough, I just triggered the bug again...
> 2.2.18 vanilla is fine.
> So I guess the next round is in Trond's court. :-)
Did you apply the following patch which I put out on the lists a
couple of weeks ago?
Cheers,
Trond
--- net/sunrpc/xprt.c.orig Sun Mar 25 18:37:42 2001
+++ net/sunrpc/xprt.c Wed Apr 18 11:10:21 2001
@@ -1145,9 +1145,11 @@
unsigned long oldflags;
spin_lock_irqsave(&xprt_sock_lock, oldflags);
xprt->snd_task = NULL;
- if (!rpc_wake_up_next(&xprt->sending) && xprt->stream)
+ if (!rpc_wake_up_next(&xprt->sending) && xprt->stream) {
+ spin_unlock_irqrestore(&xprt_sock_lock, oldflags);
xprt_add_tcp_timer(xprt, RPCXPRT_TIMEOUT);
- spin_unlock_irqrestore(&xprt_sock_lock, oldflags);
+ } else
+ spin_unlock_irqrestore(&xprt_sock_lock, oldflags);
}
}
next prev parent reply other threads:[~2001-05-01 12:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 21:21 2.2.19 locks up on SMP Ion Badulescu
2001-04-28 23:16 ` bert hubert
2001-04-28 23:09 ` idalton
2001-04-28 23:59 ` Tim Moore
2001-04-30 9:22 ` Ion Badulescu
2001-04-30 17:55 ` Alan Cox
2001-04-30 18:15 ` Andrea Arcangeli
2001-04-30 18:28 ` Andrea Arcangeli
2001-04-30 19:57 ` Alan Cox
2001-04-30 19:59 ` Ion Badulescu
2001-04-30 20:28 ` Mohammad A. Haque
2001-05-01 1:09 ` Ion Badulescu
2001-05-01 4:47 ` Ion Badulescu
2001-05-01 7:27 ` Alan Cox
2001-05-01 7:29 ` Ion Badulescu
2001-05-01 7:47 ` Ion Badulescu
2001-05-01 7:55 ` Ion Badulescu
2001-05-01 9:21 ` Ion Badulescu
2001-05-01 12:09 ` Trond Myklebust [this message]
2001-05-01 12:15 ` Ion Badulescu
2001-05-01 13:42 ` Trond Myklebust
2001-05-01 23:48 ` Ion Badulescu
-- strict thread matches above, loose matches on Subject: below --
2001-07-03 10:11 Scott Nursten
2001-07-03 10:48 ` Scott Nursten
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=15086.42872.321353.67228@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andrea@suse.de \
--cc=ionut@cs.columbia.edu \
--cc=linux-kernel@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