Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp104928imm; Thu, 31 May 2018 19:44:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIZtPk6baWoFzed9bBTpeoUhAx04fnnMOrddggojSsx+bblTKuOGwR745Hb5tR07REWAjI/ X-Received: by 2002:a17:902:1081:: with SMTP id c1-v6mr9313388pla.153.1527821059996; Thu, 31 May 2018 19:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527821059; cv=none; d=google.com; s=arc-20160816; b=HjZdqOZO8vl8p8RN+f5aO0BB07k0kBKmRqxnr9mKzYBNFZ+TSk2l/M/M+67Sc4yVw/ V++lbn4z+dJVWJTfIWYrv3GSFKT+mXIOJ398tgNqRMbmc9zcfUfJOYIX6o/z2Y++/E9q mf4vNbDu3HjSCthyyvJopbqCsCY3YZuxPG5DzIBki3A8R4zG/J7GLyvV7RCVN8o25RWY 02dS2AJwukiENvhOVAR2kfqKm8/z3NEkOi2URCRamjVJVVD5KyXayxlZ8RbxdTcmzGou kY/mHj+tDWk9WswPDmCwJr3DDS7Cy3bg9KC7Top3svgj51jyx/vXVtEICojzcyswDaQA xUgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature:arc-authentication-results; bh=xRztvf96RkNR1VwLw5y4pWCJuEjhqAK3xMFWx0dPEEQ=; b=WugHU7JqaeQAW8zTYItIoYVxhv9UJn+Gb/yr/SEBdgkdwLdt3uTKoSAdTAzNvRGYSZ k9/PiY2+WHOg8t8xmEG9RjaZvZ5v97G+dJOpINCFCzcaarujp7re4XUDlqvovW7eiOsj DfkfjKLQEV8yHPJApPPT+XqB773Qn1M6QyeaLB0Jml/Yv5vGLqzYh5cTqctIAhwGgbnn 6OxV2J/fvI3psyTbM0fk/PtlNzIuQBTN+4lMriKiIjGRobVuAPjnE0364euj/U1QN69W huuZXoT/IalJ7mMZ34EFjn1wkJn8fMcfBov0i9hM55YHYGrgmKaPiUwBVwALB3OqG09l zx3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=L/jcZWCx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b70-v6si39010626pfe.265.2018.05.31.19.43.51; Thu, 31 May 2018 19:44:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=L/jcZWCx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750830AbeFACld (ORCPT + 99 others); Thu, 31 May 2018 22:41:33 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:50804 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728AbeFAClb (ORCPT ); Thu, 31 May 2018 22:41:31 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w512eo26016644; Fri, 1 Jun 2018 02:40:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2017-10-26; bh=xRztvf96RkNR1VwLw5y4pWCJuEjhqAK3xMFWx0dPEEQ=; b=L/jcZWCxajMpShVHwPTEjCbxDhIxWMRWe8DFM7rgvFEjSRuYvKpUNdP5Mt3x8yxdqD/f kA+QbqfLNDq7cMLBAs7Q2iHdZMFo7VkP0L8UfAQRpw92EB6DkthLXL/sRHRJZIpZZOlW FkxlkL10UiLVNFL5xUjQx2rJHhWT36pjYKCsvv00/ag3q1DxVybeYwTI1E1avpKWZ+63 At91mwtaMBWaqQQ/zeMyrfeWhhDmltZhhXrSurNtLpnyzBYajTy80pBIhzXxnuS8gYZ/ 43K9afwCWVu2Yg64d0nq4/6FAKoCM/kkG4zkFTldnQ/dgxjEJQ84yQbwvlsnla5Gyroq dg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2janje1tty-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Jun 2018 02:40:50 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w512elZf006801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 1 Jun 2018 02:40:48 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w512ejKK025879; Fri, 1 Jun 2018 02:40:45 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 31 May 2018 19:40:45 -0700 To: Mike Snitzer Cc: Christoph Hellwig , Sagi Grimberg , Johannes Thumshirn , Keith Busch , Hannes Reinecke , Laurence Oberman , Ewan Milne , James Smart , Linux Kernel Mailinglist , Linux NVMe Mailinglist , "Martin K . Petersen" , Martin George , John Meneghini , axboe@kernel.dk Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180525125322.15398-1-jthumshirn@suse.de> <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180530220206.GA7037@redhat.com> <20180531163311.GA30954@lst.de> <20180531181757.GB11848@redhat.com> Date: Thu, 31 May 2018 22:40:41 -0400 In-Reply-To: <20180531181757.GB11848@redhat.com> (Mike Snitzer's message of "Thu, 31 May 2018 14:17:57 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8910 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806010026 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mike, > 1) container A is tasked with managing some dedicated NVMe technology > that absolutely needs native NVMe multipath. > 2) container B is tasked with offering some canned layered product > that was developed ontop of dm-multipath with its own multipath-tools > oriented APIs, etc. And it is to manage some other NVMe technology on > the same host as container A. This assumes there is something to manage. And that the administrative model currently employed by DM multipath will be easily applicable to ANA devices. I don't believe that's the case. The configuration happens on the storage side, not on the host. With ALUA (and the proprietary implementations that predated the spec), it was very fuzzy whether it was the host or the target that owned responsibility for this or that. Part of the reason was that ALUA was deliberately vague to accommodate everybody's existing, non-standards compliant multipath storage implementations. With ANA the heavy burden falls entirely on the storage. Most of the things you would currently configure in multipath.conf have no meaning in the context of ANA. Things that are currently the domain of dm-multipath or multipathd are inextricably living either in the storage device or in the NVMe ANA "device handler". And I think you are significantly underestimating the effort required to expose that information up the stack and to make use of it. That's not just a multipath personality toggle switch. If you want to make multipath -ll show something meaningful for ANA devices, then by all means go ahead. I don't have any problem with that. But I don't think the burden of allowing multipathd/DM to inject themselves into the path transition state machine has any benefit whatsoever to the user. It's only complicating things and therefore we'd be doing people a disservice rather than a favor. -- Martin K. Petersen Oracle Linux Engineering