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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable 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 A25A9C28CC6 for ; Wed, 5 Jun 2019 10:09:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8252E206B8 for ; Wed, 5 Jun 2019 10:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727386AbfFEKJ4 (ORCPT ); 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.