lkml.org 
[lkml]   [2013]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mtip32xx: Add SRSI support
On 09/03/2013 12:38 PM, David Milburn wrote:
> Asai Thambi S P wrote:
>> This patch add support for SRSI(Surprise Removal Surprise Insertion).
>>
>> Approach:
>> ---------
>> Surprise Removal:
>> -----------------
>> On surprise removal of the device, gendisk, request queue, device
>> index, sysfs
>> entries, etc are retained as long as device is in use - mounted
>> filesystem,
>> device opened by an application, etc. The service thread breaks out of
>> the main
>> while loop, waits for pci remove to exit, and then waits for device to
>> become
>> free. When there no holders of the device, service thread cleans up
>> the block
>> and device related stuff and returns.
>>
>> Surprise Insertion:
>> -------------------
>> No change, this scenario follows the normal pci probe() function flow.
>>
>> Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
>> ---
>> drivers/block/mtip32xx/mtip32xx.c | 453
>> ++++++++++++++++++++++---------------
>> drivers/block/mtip32xx/mtip32xx.h | 18 +-
>> 2 files changed, 289 insertions(+), 182 deletions(-)
>>
>
> Hi Jens,
>
> Will you be considering this patch for 3.12?

Yep, it will go in this merge window.

--
Jens Axboe



\
 
 \ /
  Last update: 2013-09-03 21:21    [W:0.074 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site