From: Hannes Reinecke <hare@suse.de>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: michaelc@cs.wisc.edu, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] RFC scsi_error: handle REPORT_LUNS_DATA_CHANGED, CAPACITY_DATA_CHANGED,
Date: Wed, 20 May 2009 16:46:35 +0200 [thread overview]
Message-ID: <4A1417CB.7000009@suse.de> (raw)
In-Reply-To: <20090508094158T.fujita.tomonori@lab.ntt.co.jp>
Hi all,
FUJITA Tomonori wrote:
> On Mon, 20 Apr 2009 11:55:52 +0200
> Hannes Reinecke <hare@suse.de> wrote:
>
>> Hi Mike,
>>
[ .. ]
>>> I was thinking that maybe using kobject_uevent_env would be better. The
>>> info that gets passed to userspace would be the decoded sense and
>>> asc/ascq based on values from the drivers/scsi/constants.c.
>>>
>> No. This patch has the possibility of generating _huge_ amounts of
>> messages, most of which are information only and of no influence
>> to the actual operation.
>> udev would be flooded with it and won't be able to react to 'important'
>> messages while processing them.
>
> Do we really have huge amount of messages, errors, unit attentions,
> etc?
>
There is a potential for that. Things which would normally ignored/retried
silently (like UNIT ATTENTION) will suddenly be visible.
And what's more, we'll be likely be getting plenty of errors if the
target has some failure. And these will get multiplied when having
a multipathed setup.
But this is exactly when we rely on udev to process any 'real' events
like device remove etc in time. So I'd rather use a separate mechanism
for this.
> We already have a mechanism to send events to user space,
> sdev_evt_send(). Could we simply use (or extend) it?
>
No, not really for above reasons.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-05-20 14:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 18:47 [PATCH] RFC scsi_error: handle REPORT_LUNS_DATA_CHANGED, CAPACITY_DATA_CHANGED, michaelc
2009-04-17 22:27 ` Mike Christie
2009-04-20 9:55 ` Hannes Reinecke
2009-04-20 19:35 ` Mike Christie
2009-05-08 0:41 ` FUJITA Tomonori
2009-05-08 3:06 ` Mike Christie
2009-05-20 14:46 ` Hannes Reinecke [this message]
2009-05-21 15:23 ` Mike Christie
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=4A1417CB.7000009@suse.de \
--to=hare@suse.de \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
/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;
as well as URLs for NNTP newsgroup(s).