mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
To: "Kay Sievers" <kay.sievers@vrfy.org>
Cc: jeff@garzik.org, James.Bottomley@steeleye.com,
	linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	"David Zeuthen" <david@fubar.dk>
Subject: Re: [patch 0/4] Updated AN patches, now without gendisk
Date: Mon, 13 Aug 2007 09:26:43 -0700	[thread overview]
Message-ID: <20070813092643.6f15aa8a.kristen.c.accardi@intel.com> (raw)
In-Reply-To: <3ae72650708110700x7ddf3d57ue9a8875761425f52@mail.gmail.com>

On Sat, 11 Aug 2007 16:00:53 +0200
"Kay Sievers" <kay.sievers@vrfy.org> wrote:

> On 8/8/07, Kristen Carlson Accardi <kristen.c.accardi@intel.com> wrote:
> > Here is an updated set of patches that implement Asynchronous Notification
> > support for ATAPI devices.  In this version I no longer export the AN
> > capability through genhd, and the uevent is sent by the scsi_device
> > instead of gendisk.  I added a generic SCSI device event mechanism so
> > that it can be expanded in the future with other types of events.  Please
> > let me know what you think.
> 
> Does that mean:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8ce7ad7b2d11fae2c3d285a6a0caea9322c0b8fc
> 
> will go away?

Yes - this method was rejected by James, so I had to change away from
using the genhd to transmit events.

> 
> Then we will need to come up with an idea to propagate that to the
> blockdev, it gets a bit nasty for userspace to find out which
> blockdevice it should update. It's certainly possible, but just not as
> easy as it is now, because userspace just doesn't really care in most
> cases what kind of bus device a block device is coming from.

Is it possible to use the linkage that is in the scsi_device directory
of the disk that is sending the event to find the relevant block devices?
For example, /sys/class/scsi_device/0:0:0:0/device/block:sda
on my system tells me which block devices belong to this device.

  reply	other threads:[~2007-08-13 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08 19:07 Kristen Carlson Accardi
2007-08-11 14:00 ` Kay Sievers
2007-08-13 16:26   ` Kristen Carlson Accardi [this message]
2007-08-14 12:10     ` Kay Sievers

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=20070813092643.6f15aa8a.kristen.c.accardi@intel.com \
    --to=kristen.c.accardi@intel.com \
    --cc=James.Bottomley@steeleye.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@fubar.dk \
    --cc=jeff@garzik.org \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®