Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6578674ybi; Wed, 5 Jun 2019 03:12:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmxsSDX1lNzyo+EtaQ0eoovfUZxEmw267wLsPosg6FpzsCCnLBU3z5HMjwOC5mPNR0hU1U X-Received: by 2002:a17:902:8c82:: with SMTP id t2mr42379632plo.256.1559729553249; Wed, 05 Jun 2019 03:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559729553; cv=none; d=google.com; s=arc-20160816; b=0o0G4IRuVH2+hDyh/eoE2gnV9mJNAEc2z/unOFcfs+xYF8Nw/A4fOUhkBenc/wgRGJ mSq03zgDJVON8Uz69AyfGPnqRQ+QPxGaNYMSte1QQV9oqYoPmsMuxHrKD86PLy2wRCBL SY+u31+UmQ4vNCIHUCu3MV23zhevjemGgCiulfrImWkQaKd+piuXDHYFVp5avwPA75mJ GfEna4+jp4U3ipB2lrD6BQw8L80ODb1sHuBrfThiv9EqalZ5qUfaXpKXU6ci0SIl/ToS qNIHO76xiW6O4Q/8hoeyCZ9lfp4PCfokc2RrQ6Ltkb6EvGOeIkPMVJar7mLfgY3agyZP NOSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dQ6nsHj5wzGcY08aJYbdk+QQd4L33uELyYWTyDZsXbE=; b=nix9ZPOg47cvFYCkYIqowBEDXfDGjEAxneJjlIIyoPu1soSuz5/3njItC6qWnt0wvo 0I0WIkrbTNZIqFKCrQJX0CqWyP2lAQvXGXlhyziiDf5FyPlXMK20We7XKuK2L3M4tinm g/D7F7anBAgJe6oSH2QzqbDuGqmMT2bvhBANaIf8k7QPcPkJdVDO6sG3idxE4r5tFDGg We0aAu3v8ZsI54mgIahJN0M3loh+Fvm9TdrMW5xK7tfs2Wm0HAL5qierMzuaDg3WZHVA kesJcX0Jptt0mDSeDxh2eL3eTN7ScQkzM1jmn6U4i9M8xD1/YMOOJePFwULse2aVFX+y axLg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e32si25595201pgl.514.2019.06.05.03.12.14; Wed, 05 Jun 2019 03:12:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727380AbfFEKJ4 (ORCPT + 99 others); Wed, 5 Jun 2019 06:09:56 -0400 Received: from verein.lst.de ([213.95.11.211]:41928 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727348AbfFEKJ4 (ORCPT ); Wed, 5 Jun 2019 06:09:56 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 69D4368B20; Wed, 5 Jun 2019 12:09:29 +0200 (CEST) Date: Wed, 5 Jun 2019 12:09:28 +0200 From: Christoph Hellwig To: Sebastian Ott Cc: Christoph Hellwig , Ming Lei , Hannes Reinecke , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: too large sg segments with commit 09324d32d2a08 Message-ID: <20190605100928.GA9828@lst.de> References: 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The problem is that we don't communicate the block level max_segment size to the iommu, and the commit really is just the messenger. I'll cook up a series to fix this as papering over it in every driver does not seem sustainable.