Re: [PATCH v3 0/7] Enhance libsas hotplug feature

From: Johannes Thumshirn
Date: Wed Jul 12 2017 - 07:56:31 EST


On Wed, Jul 12, 2017 at 10:59:27AM +0100, John Garry wrote:
> After:
> ...
> root@(none)$ echo 0 > ./phy-0:7/sas_phy/phy-0:7/enable
> root@(none)$ [ 446.193336] hisi_sas_v2_hw HISI0162:01: found dev[8:1] is
> gone
> [ 446.249205] hisi_sas_v2_hw HISI0162:01: found dev[7:1] is gone
> [ 446.325201] hisi_sas_v2_hw HISI0162:01: found dev[6:1] is gone
> [ 446.373189] hisi_sas_v2_hw HISI0162:01: found dev[5:1] is gone
> [ 446.421187] hisi_sas_v2_hw HISI0162:01: found dev[4:1] is gone
> [ 446.457232] hisi_sas_v2_hw HISI0162:01: found dev[3:1] is gone
> [ 446.477151] sd 0:0:1:0: [sdb] Synchronizing SCSI cache
> [ 446.482373] sd 0:0:1:0: [sdb] Synchronize Cache(10) failed: Result:
> hostbyte=0x04 driverbyte=0x00
> [ 446.491238] sd 0:0:1:0: [sdb] Stopping disk
> [ 446.495419] sd 0:0:1:0: [sdb] Start/Stop Unit failed: Result:
> hostbyte=0x04 driverbyte=0x00
> [ 446.525227] hisi_sas_v2_hw HISI0162:01: found dev[2:5] is gone
> [ 446.569249] hisi_sas_v2_hw HISI0162:01: found dev[1:1] is gone
> [ 446.576872] hisi_sas_v2_hw HISI0162:01: found dev[0:2] is gone
>
> root@(none)$
>
> So much nicer. BTW, /dev/sdb is a SATA disk, the rest are SAS.

This is awesome. I hope I have some time reviewing the patches themselfes
soon.

Johannes

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850