答复: [PATCH] scsi_dh_alua: always use a 2 seconds delay before retrying RTPG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
  Does Hannes' patch has been lightly tested on my scenario, always use 2 seconds delay before retrying.
The patch looks good to me, well running.
But I'd wonder whether 'if (!pg->interval) ' is necessary condition for codes style?
Thanks very much! 

the details:
Jul 17 16:21:10 cvknode2058 kernel: [16190.492656] sd 1:0:0:0: alua: rtpg retry
Jul 17 16:21:10 cvknode2058 kernel: [16190.492663] sd 1:0:0:0: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:10 cvknode2058 kernel: [16190.492665] sd 1:0:0:0: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:10 cvknode2058 kernel: [16190.492669] sd 1:0:0:1: alua: rtpg retry
Jul 17 16:21:10 cvknode2058 kernel: [16190.492673] sd 1:0:0:1: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:10 cvknode2058 kernel: [16190.492674] sd 1:0:0:1: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:10 cvknode2058 kernel: [16190.492678] sd 1:0:0:2: alua: rtpg retry
Jul 17 16:21:10 cvknode2058 kernel: [16190.492681] sd 1:0:0:2: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:10 cvknode2058 kernel: [16190.492683] sd 1:0:0:2: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:11 cvknode2058 multipathd: check_path:1711: sdo: path wwid has changed. Refusing to use
Jul 17 16:21:11 cvknode2058 multipathd: check_path:1711: sdp: path wwid has changed. Refusing to use
Jul 17 16:21:12 cvknode2058 kernel: [16192.508658] sd 1:0:0:2: alua: rtpg retry
Jul 17 16:21:12 cvknode2058 kernel: [16192.508664] sd 1:0:0:2: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:12 cvknode2058 kernel: [16192.508666] sd 1:0:0:2: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:12 cvknode2058 kernel: [16192.508670] sd 1:0:0:0: alua: rtpg retry
Jul 17 16:21:12 cvknode2058 kernel: [16192.508674] sd 1:0:0:0: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:12 cvknode2058 kernel: [16192.508676] sd 1:0:0:0: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:12 cvknode2058 kernel: [16192.508679] sd 1:0:0:1: alua: rtpg retry
Jul 17 16:21:12 cvknode2058 kernel: [16192.508682] sd 1:0:0:1: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:12 cvknode2058 kernel: [16192.508684] sd 1:0:0:1: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:14 cvknode2058 multipathd: check_path:1711: sdd: path wwid has changed. Refusing to use
Jul 17 16:21:14 cvknode2058 kernel: [16194.524638] sd 1:0:0:0: alua: rtpg retry
Jul 17 16:21:14 cvknode2058 kernel: [16194.524643] sd 1:0:0:0: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:14 cvknode2058 kernel: [16194.524645] sd 1:0:0:0: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:14 cvknode2058 kernel: [16194.524648] sd 1:0:0:1: alua: rtpg retry
Jul 17 16:21:14 cvknode2058 kernel: [16194.524651] sd 1:0:0:1: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:14 cvknode2058 kernel: [16194.524653] sd 1:0:0:1: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition
Jul 17 16:21:14 cvknode2058 kernel: [16194.524679] sd 1:0:0:2: alua: rtpg retry
Jul 17 16:21:14 cvknode2058 kernel: [16194.524682] sd 1:0:0:2: [alua] Sense Key : Not Ready [current]
Jul 17 16:21:14 cvknode2058 kernel: [16194.524684] sd 1:0:0:2: [alua] Add. Sense: Logical unit not accessible, asymmetric access state transition

-----邮件原件-----
发件人: Martin K. Petersen [mailto:martin.petersen@xxxxxxxxxx]
发送时间: 2019年7月17日 10:36
收件人: zhangguanghui (Cloud)
抄送: Hannes Reinecke; Dan Carpenter; Martin K. Petersen; James Bottomley; linux-scsi@xxxxxxxxxxxxxxx; Hannes Reinecke
主题: Re: [PATCH] scsi_dh_alua: always use a 2 seconds delay before retrying RTPG


Zhang,

> Retrying immediately after we've received a 'transitioning' sense
> code is pretty much pointless, we should always use a delay before
> retrying.

Does Hannes' patch alleviate your issue?

--
Martin K. Petersen      Oracle Linux Engineering
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有新华三集团的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from New H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux