From: "Ed L. Cashin" <ecashin@coraid.com>
To: linux-kernel@vger.kernel.org
Cc: ecashin@coraid.com, Greg K-H <greg@kroah.com>
Subject: [PATCH 2.6.15-rc7] aoe [6/7]: update device information on last close
Date: Tue, 03 Jan 2006 16:08:25 -0500 [thread overview]
Message-ID: <87k6dhyq7q.fsf@coraid.com> (raw)
In-Reply-To: 87hd8l2fb4.fsf@coraid.com
Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
Instead of making the user wait or do it manually, refresh
device information on its last close by issuing a config
query to the device.
Index: 2.6.15-rc7-aoe/drivers/block/aoe/aoeblk.c
===================================================================
--- 2.6.15-rc7-aoe.orig/drivers/block/aoe/aoeblk.c 2006-01-02 13:35:13.000000000 -0500
+++ 2.6.15-rc7-aoe/drivers/block/aoe/aoeblk.c 2006-01-02 13:35:15.000000000 -0500
@@ -109,7 +109,7 @@
spin_lock_irqsave(&d->lock, flags);
- if (--d->nopen == 0 && !(d->flags & DEVFL_UP)) {
+ if (--d->nopen == 0) {
spin_unlock_irqrestore(&d->lock, flags);
aoecmd_cfg(d->aoemajor, d->aoeminor);
return 0;
--
Ed L. Cashin <ecashin@coraid.com>
next prev parent reply other threads:[~2006-01-03 21:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-03 21:05 [PATCH 2.6.15-rc7] aoe [1/7]: zero packet data after skb allocation Ed L. Cashin
2006-01-03 21:07 ` [PATCH 2.6.15-rc7] aoe [2/7]: support dynamic resizing of AoE devices Ed L. Cashin
2006-01-03 21:07 ` [PATCH 2.6.15-rc7] aoe [3/7]: increase allowed outstanding packets Ed L. Cashin
2006-01-03 21:08 ` [PATCH 2.6.15-rc7] aoe [4/7]: use less confusing driver name Ed L. Cashin
2006-01-04 6:02 ` Coywolf Qi Hunt
2006-01-04 16:31 ` Ed L Cashin
2006-01-05 0:50 ` Coywolf Qi Hunt
2006-01-05 16:35 ` Ed L Cashin
2006-01-03 21:08 ` [PATCH 2.6.15-rc7] aoe [5/7]: allow network interface migration on packet retransmit Ed L. Cashin
2006-01-03 21:08 ` Ed L. Cashin [this message]
2006-01-03 21:08 ` [PATCH 2.6.15-rc7] aoe [7/7]: update driver version number Ed L. Cashin
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=87k6dhyq7q.fsf@coraid.com \
--to=ecashin@coraid.com \
--cc=greg@kroah.com \
--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 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.