From: Sumit.Saxena@avagotech.com Date: Mon, 17 Nov 2014 09:54:18 +0000 (+0530) Subject: megaraid_sas: make HBA operational after LD_MAP_SYNC DCMD in OCR path X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~21^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac340c5f2e033f001a081817019d6f3835bf6267;p=pandora-kernel.git megaraid_sas: make HBA operational after LD_MAP_SYNC DCMD in OCR path In OCR(Online Controller Reset) path, driver sets adapter state to MEGASAS_HBA_OPERATIONAL before getting new RAID map. There will be a small window where IO will come from OS with old RAID map. This patch will update adapter state to MEGASAS_HBA_OPERATIONAL, only after driver has new RAID map to avoid any IOs getting build using old RAID map. Signed-off-by: Sumit Saxena Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed