lkml.org 
[lkml]   [2010]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH scsi-misc-2.6] sd: implement sd_check_events()
On 2010-12-21 19:09, James Bottomley wrote:
> On Mon, 2010-12-20 at 10:20 -0600, James Bottomley wrote:
>> Added cc: linux-scsi
>>
>> On Sat, 2010-12-18 at 18:42 +0100, Tejun Heo wrote:
>>> Replace sd_media_change() with sd_check_events().
>>>
>>> * Move media removed logic into set_media_not_present() and
>>> media_not_present() and set sdev->changed iff an existing media is
>>> removed or the device indicates UNIT_ATTENTION.
>>>
>>> * Make sd_check_events() sets sdev->changed if previously missing
>>> media becomes present.
>>>
>>> * Event is reported only if sdev->changed is set.
>>>
>>> This makes media presence event reported if scsi_disk->media_present
>>> actually changed or the device indicated UNIT_ATTENTION. For backward
>>> compatibility, SDEV_EVT_MEDIA_CHANGE is generated each time
>>> sd_check_events() detects media change event.
>>>
>>> Signed-off-by: Tejun Heo <tj@kernel.org>
>>> Cc: Kay Sievers <kay.sievers@vrfy.org>
>>> ---
>>> Here it is. The conflicts were due to Alan's recent patch, which was
>>> in the similar direction anyway.
>>
>> This looks fine to me. Jens can you strip the SCSI patches out of your
>> tree and I'll run them through a postmerge tree to get the fix up?
>
> Ping on this, please: I can't build a postmerge tree until block is
> sorted out. I need these four removing:

I would need to revert those four then, I can't rebase any of those
branches.


--
Jens Axboe



\
 
 \ /
  Last update: 2010-12-21 20:21    [from the cache]
©2003-2011 Jasper Spaans