[PATCH v8 10/11] scsi: sr: support (un)block events

2012-10-29 Thread Aaron Lu
2 interfaces are added to block/unblock events for the disk sr manages. This is used by SATA ZPODD, when ODD is runtime powered off, the events poll is no longer needed so better be blocked. And once powered on, events poll will be unblocked. These 2 interfaces are needed here because SATA layer

Re: [PATCH v8 10/11] scsi: sr: support (un)block events

2012-10-29 Thread James Bottomley
On Mon, 2012-10-29 at 17:01 +0800, Aaron Lu wrote: 2 interfaces are added to block/unblock events for the disk sr manages. This is used by SATA ZPODD, when ODD is runtime powered off, the events poll is no longer needed so better be blocked. And once powered on, events poll will be unblocked.

Re: [PATCH v8 10/11] scsi: sr: support (un)block events

2012-10-29 Thread Alan Stern
On Mon, 29 Oct 2012, James Bottomley wrote: On Mon, 2012-10-29 at 17:01 +0800, Aaron Lu wrote: 2 interfaces are added to block/unblock events for the disk sr manages. This is used by SATA ZPODD, when ODD is runtime powered off, the events poll is no longer needed so better be blocked. And

Re: [PATCH v8 10/11] scsi: sr: support (un)block events

2012-10-29 Thread James Bottomley
On Mon, 2012-10-29 at 18:22 -0400, Alan Stern wrote: On Mon, 29 Oct 2012, James Bottomley wrote: On Mon, 2012-10-29 at 17:01 +0800, Aaron Lu wrote: 2 interfaces are added to block/unblock events for the disk sr manages. This is used by SATA ZPODD, when ODD is runtime powered off, the

Re: [PATCH v8 10/11] scsi: sr: support (un)block events

2012-10-29 Thread Aaron Lu
On 10/30/2012 02:11 AM, James Bottomley wrote: On Mon, 2012-10-29 at 17:01 +0800, Aaron Lu wrote: 2 interfaces are added to block/unblock events for the disk sr manages. This is used by SATA ZPODD, when ODD is runtime powered off, the events poll is no longer needed so better be blocked. And