Re: [PATCH RESEND] mpt3sas: Fix for block device of raid exists even after deleting raid disk

From: Martin K. Petersen
Date: Tue Nov 01 2016 - 09:51:29 EST


>>>>> "Sreekanth" == Sreekanth Reddy <sreekanth.reddy@xxxxxxxxxxxx> writes:

Sreekanth> While merging mpt3sas & mpt2sas code, we posted below patch
Sreekanth> for WarpDrive support,

[...]

Sreekanth> Due to above hunk, we are not initializing raid_device's
Sreekanth> starget for raid volumes, and so during raid disk deletion
Sreekanth> driver is not calling scsi_remove_target() API as driver
Sreekanth> observes starget field of raid_device's structure as NULL.

Applied to 4.9/scsi-fixes.

--
Martin K. Petersen Oracle Linux Engineering