[PATCH] [SCSI] mptfusion: delete rphy info in mptsas_del_end_device()

2013-02-20 Thread Xiaotian Feng
Otherwise, we might get wrong rphy attributes through sysfs when a end device is not responding. Signed-off-by: Xiaotian Feng Cc: Nagalakshmi Nandigama Cc: Sreekanth Reddy Cc: supp...@lsi.com Cc: dl-mptfusionli...@lsi.com Cc: linux-scsi@vger.kernel.org Cc: linux-ker...@vger.kernel.org

[PATCH] megaraid: convert to work_struct

2012-12-13 Thread Xiaotian Feng
There's no need to use delayed work, convert to use work_struct and cancel_work_sync(). Requested-by: Tejun Heo Signed-off-by: Xiaotian Feng Cc: Neela Syam Kolli Cc: "James E.J. Bottomley" Cc: linux-scsi@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- driver

[PATCH] megaraid: fix use of delayed work

2012-12-04 Thread Xiaotian Feng
dwork->timer before queue_work, this will cause megaraid code to hit the BUG_ON in workqueue code. Change megaraid code to use delayed work. Signed-off-by: Xiaotian Feng Cc: Tejun Heo Cc: Neela Syam Kolli Cc: "James E.J. Bottomley" Cc: linux-scsi@vger.kernel.org --- drivers/