RE: [patch 2/4] scsi: expose AN support to user space

2007-08-15 Thread Moore, Eric
On Wednesday, August 15, 2007 8:02 AM, James Bottomley wrote: > Actually, we just got a second potential consumer ... although I'll > reprod to have the reporter send it to the list. It's a device that > needs notice of report luns data changing. The proposed > mechanism looks > a bit narrow no

Re: [patch 2/4] scsi: expose AN support to user space

2007-08-15 Thread Kristen Carlson Accardi
On Wed, 15 Aug 2007 09:01:49 -0500 James Bottomley <[EMAIL PROTECTED]> wrote: > On Wed, 2007-08-15 at 04:13 -0400, Jeff Garzik wrote: > > Kristen Carlson Accardi wrote: > > > If a scsi_device supports async notification for media change, then > > > let user space know this capability exists by cre

Re: [patch 2/4] scsi: expose AN support to user space

2007-08-15 Thread James Bottomley
On Wed, 2007-08-15 at 04:13 -0400, Jeff Garzik wrote: > Kristen Carlson Accardi wrote: > > If a scsi_device supports async notification for media change, then > > let user space know this capability exists by creating a new sysfs > > entry "media_change_notify", which will be 1 if it is supported,

Re: [patch 2/4] scsi: expose AN support to user space

2007-08-15 Thread Jeff Garzik
Kristen Carlson Accardi wrote: If a scsi_device supports async notification for media change, then let user space know this capability exists by creating a new sysfs entry "media_change_notify", which will be 1 if it is supported, and 0 if not supported. Create a routine which allows scsi device