From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03FE8C11F69 for ; Thu, 1 Jul 2021 11:34:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D55C861481 for ; Thu, 1 Jul 2021 11:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236204AbhGALhQ (ORCPT ); Thu, 1 Jul 2021 07:37:16 -0400 Received: from verein.lst.de ([213.95.11.211]:47319 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236130AbhGALhQ (ORCPT ); Thu, 1 Jul 2021 07:37:16 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 01CD567357; Thu, 1 Jul 2021 13:34:42 +0200 (CEST) Date: Thu, 1 Jul 2021 13:34:42 +0200 From: Christoph Hellwig To: Martin Wilck Cc: Christoph Hellwig , Mike Snitzer , Alasdair G Kergon , Bart Van Assche , "Martin K. Petersen" , linux-scsi@vger.kernel.org, dm-devel@redhat.com, Hannes Reinecke , Daniel Wagner , linux-block@vger.kernel.org, Paolo Bonzini , Benjamin Marzinski , nkoenig@redhat.com, emilne@redhat.com Subject: Re: [PATCH v5 3/3] dm mpath: add CONFIG_DM_MULTIPATH_SG_IO - failover for SG_IO Message-ID: <20210701113442.GA10793@lst.de> References: <20210628151558.2289-1-mwilck@suse.com> <20210628151558.2289-4-mwilck@suse.com> <20210701075629.GA25768@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Jul 01, 2021 at 12:35:53PM +0200, Martin Wilck wrote: > I respectfully disagree. Users of dm-multipath devices expect that IO > succeeds as long as there's at least one healthy path. This is a > fundamental property of multipath devices. Whether IO is sent > "normally" or via SG_IO doesn't make a difference wrt this expectation. If you have those (pretty reasonable) expections don't use SG_IO. That is what the regular read/write path is for. SG_IO gives you raw access to the SCSI logic unit, and you get to keep the pieces if anything goes wrong.