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=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 9DFE2C433E0 for ; Mon, 29 Mar 2021 06:38:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 73FB76192B for ; Mon, 29 Mar 2021 06:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbhC2Ghe (ORCPT ); Mon, 29 Mar 2021 02:37:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:36356 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbhC2GhC (ORCPT ); Mon, 29 Mar 2021 02:37:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 582F1B13D; Mon, 29 Mar 2021 06:37:01 +0000 (UTC) Subject: Re: [PATCH 8/8] block: stop calling blk_queue_bounce for passthrough requests To: Christoph Hellwig , Jens Axboe , Khalid Aziz , "Martin K. Petersen" , Matthew Wilcox , Hannes Reinecke , Ondrej Zary Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org References: <20210326055822.1437471-1-hch@lst.de> <20210326055822.1437471-9-hch@lst.de> From: Hannes Reinecke Message-ID: <0a39278a-f585-8b33-ea7b-16fe7f6c7ebd@suse.de> Date: Mon, 29 Mar 2021 08:37:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210326055822.1437471-9-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 3/26/21 6:58 AM, Christoph Hellwig wrote: > Instead of overloading the passthrough fast path with the deprecated > block layer bounce buffering let the users that combine an old > undermaintained driver with a highmem system pay the price by always > falling back to copies in that case. > > Signed-off-by: Christoph Hellwig > --- > block/blk-map.c | 116 ++++++++--------------------- > block/bounce.c | 11 +-- > drivers/nvme/host/lightnvm.c | 2 +- > drivers/target/target_core_pscsi.c | 4 +- > include/linux/blkdev.h | 2 +- > 5 files changed, 36 insertions(+), 99 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer