From: Mark Fasheh <mark.fasheh@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] About Mark's advice on bug 48
Date: Thu Mar 25 13:10:44 2004 [thread overview]
Message-ID: <20040325191037.GN10672@ca-server1.us.oracle.com> (raw)
In-Reply-To: <4062A5B5.3000205@intel.com>
On Thu, Mar 25, 2004 at 05:26:13PM +0800, Sonic Zhang wrote:
> Hi Mark,
>
> I change a little to your patch. I remove the signal prcess code,
> because kernel thread doesn't receive signals by default.
Ours does! If you look in ocfs_daemonize, you'll see the following:
/* Block all signals except SIGKILL, SIGSTOP, SIGHUP and SIGINT */
#ifdef HAVE_NPTL
spin_lock_irq (¤t->sighand->siglock);
tmpsig = current->blocked;
siginitsetinv (¤t->blocked, SHUTDOWN_SIGS);
recalc_sigpending ();
spin_unlock_irq (¤t->sighand->siglock);
You need that signal processing bit, to dequeue pending signals from our
task. Otherwise, ocfs_wait will trigger the signal_pending condition and
return -EINTR on every call!
>This patch
> fixes the halt problem in thread ocfs_submit_thread(). But, there is
> another dead lock on osb->publish_lock in thread ocfs_volume_thread()
> and routine ocfs_journal_set_unmounted(). I am tracking this problem now.
I'd like more info on this.
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh@oracle.com
next prev parent reply other threads:[~2004-03-25 13:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 3:26 [Ocfs2-devel] About Mark's advice on bug 48 Sonic Zhang
2004-03-25 13:10 ` Mark Fasheh [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-26 1:26 Sonic Zhang
2004-03-26 2:27 ` Sonic Zhang
2004-03-29 14:13 ` Mark Fasheh
2004-03-29 14:28 ` Mark Fasheh
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=20040325191037.GN10672@ca-server1.us.oracle.com \
--to=mark.fasheh@oracle.com \
--cc=ocfs2-devel@oss.oracle.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.