Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933676AbdGKVBu (ORCPT ); Tue, 11 Jul 2017 17:01:50 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58039 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933535AbdGKVBs (ORCPT ); Tue, 11 Jul 2017 17:01:48 -0400 Subject: Re: [PATCH v2 1/4] scsi: scsi_dh_alua: allow I/O in target port unavailable and standby states From: Mauricio Faria de Oliveira To: Hannes Reinecke Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, bart.vanassche@sandisk.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1499726857-7875-1-git-send-email-mauricfo@linux.vnet.ibm.com> <1499726857-7875-2-git-send-email-mauricfo@linux.vnet.ibm.com> <224d8cd3-478c-2440-3479-0119885575cf@linux.vnet.ibm.com> Date: Tue, 11 Jul 2017 18:01:31 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <224d8cd3-478c-2440-3479-0119885575cf@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable x-cbid: 17071121-0028-0000-0000-000001CA47B9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17071121-0029-0000-0000-000014CC7C82 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-11_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707110334 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 456 Lines: 12 On 07/11/2017 12:32 PM, Mauricio Faria de Oliveira wrote: > Also, it seems the Unavailable/Standby states would not be logged > without a recheck from alua_check_sense(), since the only callers > of alua_rtpg_queue() are alua_activate() and alua_check[_sense]() Well, actually it does get logged if when activating/switching path groups but shouldn't be the case with only a single path group. -- Mauricio Faria de Oliveira IBM Linux Technology Center