From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] resend the new patch for bug 48 to remove incorrect autowrap in last mail
Date: Fri Mar 26 20:18:22 2004 [thread overview]
Message-ID: <20040327021816.GL18020@ca-server1.us.oracle.com> (raw)
In-Reply-To: <4064E04F.6060508@intel.com>
Sonic,
Please, send in proper kernel style. TABs, not spaces.
Joel
On Sat, Mar 27, 2004 at 10:00:47AM +0800, Sonic Zhang wrote:
> --- ocfs2.old/src/nm.c.old 2004-03-26 15:21:32.000000000 +0800
> +++ ocfs2/src/nm.c 2004-03-27 09:22:06.176266560 +0800
> @@ -119,6 +119,8 @@
> OcfsIpcCtxt.recv_sock = NULL;
> }
>
> + OcfsIpcCtxt.task = NULL;
> +
> /* signal main thread of ipcdlm's exit */
> complete (&(OcfsIpcCtxt.complete));
>
> @@ -250,6 +252,7 @@
> __u64 cfg_seq_num;
> int which, pruned, prune_iters = 0;
> struct buffer_head *bh = NULL;
> + siginfo_t info;
>
> LOG_ENTRY ();
>
> @@ -409,6 +412,7 @@
> OCFS_BH_PUT_DATA(bh);
> status = ocfs_write_bh(osb, bh, 0, NULL);
> if (status < 0) {
> + up(&(osb->publish_lock));
> LOG_ERROR_STATUS (status);
> goto finally;
> }
> @@ -439,6 +443,18 @@
> }
> set_current_state (TASK_INTERRUPTIBLE);
> schedule_timeout (osb->hbt - j);
> +
> + if (signal_pending(current)) {
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
> + /* ignore the actual signal */
> + dequeue_signal_lock(current, ¤t->blocked, &info);
> +#else
> + spin_lock_irq(¤t->sigmask_lock);
> + /* ignore the actual signal */
> + dequeue_signal(¤t->blocked, &info);
> + spin_unlock_irq(¤t->sigmask_lock);
> +#endif
> + }
> }
>
> /* Flush all scheduled tasks */
>
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
--
"Nothing is wrong with California that a rise in the ocean level
wouldn't cure."
- Ross MacDonald
Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2004-03-26 20:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 20:00 [Ocfs2-devel] resend the new patch for bug 48 to remove incorrect autowrap in last mail Sonic Zhang
2004-03-26 20:18 ` Joel Becker [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-28 21:41 Zhang, Sonic
2004-03-28 21:47 ` Wim Coekaerts
2004-03-29 3:29 Zhang, Sonic
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=20040327021816.GL18020@ca-server1.us.oracle.com \
--to=joel.becker@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.