From: Jens Axboe <axboe@suse.de>
To: Mark Swanson <swansma@yahoo.com>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: 242-ac3 loop bug
Date: Sun, 25 Feb 2001 00:14:27 +0100 [thread overview]
Message-ID: <20010225001427.B420@suse.de> (raw)
In-Reply-To: <20010224173234.14673.qmail@web1301.mail.yahoo.com>
In-Reply-To: <20010224173234.14673.qmail@web1301.mail.yahoo.com>; from swansma@yahoo.com on Sat, Feb 24, 2001 at 09:32:34AM -0800
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
On Sat, Feb 24 2001, Mark Swanson wrote:
> First, good job on the loop device. It's rock stable for me - except
thanks, glad to hear it.
> when I try to load the blowfish module which oops the kernel and
> crashes the loop device:-) No problem, I just use another cipher.
cipher bug or? never the less, could you ksymoops that and send
it along?
> The bug I'm reporting is that when a loop device is in use the load of
> the machine stays at 1.00 even though nothing is happening. If I umount
> the loop filesystem the load goes down to 0.00.
>
> > ps -aux | grep loop
> 1674 tty1 DW< 0:00 [loop0]
>
> The system is doing nothing to the loop filesystem.
> Strange that the process isn't logging any cpu usage time. It's
> definately responsible for the 1.00 load.
Oops, this slipped by me. Patch should fix it.
--
Jens Axboe
[-- Attachment #2: loop_sig-1 --]
[-- Type: text/plain, Size: 546 bytes --]
--- drivers/block/loop.c~ Sat Feb 24 23:08:38 2001
+++ drivers/block/loop.c Sat Feb 24 23:11:13 2001
@@ -507,7 +507,7 @@
sprintf(current->comm, "loop%d", lo->lo_number);
spin_lock_irq(¤t->sigmask_lock);
- siginitsetinv(¤t->blocked, sigmask(SIGKILL));
+ sigfillset(¤t->blocked);
flush_signals(current);
spin_unlock_irq(¤t->sigmask_lock);
@@ -525,7 +525,7 @@
up(&lo->lo_sem);
for (;;) {
- down(&lo->lo_bh_mutex);
+ down_interruptible(&lo->lo_bh_mutex);
if (!atomic_read(&lo->lo_pending))
break;
next prev parent reply other threads:[~2001-02-24 23:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-24 17:32 242-ac3 loop bug Mark Swanson
2001-02-24 17:59 ` Doug McNaught
2001-02-24 18:11 ` Mark Swanson
2001-02-24 18:57 ` Doug McNaught
2001-02-24 19:18 ` Arjan van de Ven
2001-02-24 23:14 ` Jens Axboe [this message]
2001-02-25 7:48 ` Mircea Ciocan
-- strict thread matches above, loose matches on Subject: below --
2001-02-26 0:15 Jonathan Oppenheim
2001-02-26 0:27 ` Jens Axboe
2001-02-26 1:17 ` Mario Hermann
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=20010225001427.B420@suse.de \
--to=axboe@suse.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=swansma@yahoo.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.