From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751510AbdAWVEm (ORCPT ); Mon, 23 Jan 2017 16:04:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34314 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbdAWVEl (ORCPT ); Mon, 23 Jan 2017 16:04:41 -0500 From: Cathy Avery Subject: Re: [PATCH 2/2] scsi: storvsc: Add support for FC lightweight host. To: Fam Zheng References: <1484771338-8903-1-git-send-email-cavery@redhat.com> <1484771338-8903-3-git-send-email-cavery@redhat.com> <20170123031311.GB12419@lemon.Home> Cc: kys@microsoft.com, haiyangz@microsoft.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Message-ID: <58866DC6.1080203@redhat.com> Date: Mon, 23 Jan 2017 15:55:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20170123031311.GB12419@lemon.Home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 23 Jan 2017 20:55:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, There is no way to issue a lip directly as the current client for this feature ( storvsc ) does not handle that request as a physical fc hba can. Storvsc only has two fc attributes exposed - port_name and node_name. You can rescan the bus with the standard echo "- - -" > /sys/class/scsi_host/hostX/scan. Cathy On 01/22/2017 10:13 PM, Fam Zheng wrote: > On Wed, 01/18 15:28, Cathy Avery wrote: >> Enable FC lightweight host option so that the luns exposed by >> the driver may be manually scanned. > Hi Cathy, out of curiosity: how does this relate to issue_lip operation? And how > to trigger manual scan with this patch? > > Fam