From: Coywolf Qi Hunt <qiyong@fc-cn.com>
To: akpm@osdl.org
Cc: neilb@suse.de, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org
Subject: [patch 2/2] raid6_unplug_device() fix
Date: Tue, 25 Apr 2006 11:36:16 +0800 [thread overview]
Message-ID: <20060425033616.GA27664@localhost.localdomain> (raw)
Hello,
Fix raid6_unplug_device() to not disturb raid6d unnecessarily.
Signed-off-by: Coywolf Qi Hunt <qiyong@fc-cn.com>
---
diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c
index 820536e..d3deedb 100644
--- a/drivers/md/raid6main.c
+++ b/drivers/md/raid6main.c
@@ -1644,8 +1644,8 @@ static void raid6_unplug_device(request_
if (blk_remove_plug(q)) {
conf->seq_flush++;
raid6_activate_delayed(conf);
+ md_wakeup_thread(mddev->thread);
}
- md_wakeup_thread(mddev->thread);
spin_unlock_irqrestore(&conf->device_lock, flags);
--
Coywolf Qi Hunt
reply other threads:[~2006-04-25 3:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060425033616.GA27664@localhost.localdomain \
--to=qiyong@fc-cn.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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