From patchwork Sun Apr 15 14:52:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10341561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81DE4603EE for ; Sun, 15 Apr 2018 14:52:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DA992624D for ; Sun, 15 Apr 2018 14:52:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 523F627DCD; Sun, 15 Apr 2018 14:52:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C48222624D for ; Sun, 15 Apr 2018 14:52:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752465AbeDOOwm (ORCPT ); Sun, 15 Apr 2018 10:52:42 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57666 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbeDOOwl (ORCPT ); Sun, 15 Apr 2018 10:52:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cnqYhPDC4Dkfxu7eT9rOCsh+Q+xiQLlIw/Q0z/0g9jk=; b=u+yA2ZQnitxx91gFMtfQTAJfC dsSuR5BpJxBVqhzwu8Hpk4t79TF8dB70KgLW7RJC9GX0oEjHDJ9XleePL0BD4M91Kcw79MO8jH8EL Iv6m+5AGQlb7CSokt0odZl3c9k3Y7b3QnDxl5aYGzbrREeG+2Lo0xoGnSjIgulYPdLlwglbQDOX7q xyeB+LzXOVkVIfnBUazsbffJAAA+RWcb2yxUE+Mo6EdnyAQowKethoFyM8rgyI91uwL76gxoWldUG sO0QZDFtj5ByrXM/juOkexBa7I/GqFGqMOP86ld4FUcktNZJ+hvesCjSkL3ajGspCYJhxk6vLpUmV f60mW2J8A==; Received: from 089144200254.atnat0009.highway.a1.net ([89.144.200.254] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1f7j1E-0003uv-N2 for linux-scsi@vger.kernel.org; Sun, 15 Apr 2018 14:52:41 +0000 From: Christoph Hellwig To: linux-scsi@vger.kernel.org Subject: [PATCH] scsi_transport_sas: don't bounce highmem pages for the smp handler Date: Sun, 15 Apr 2018 16:52:37 +0200 Message-Id: <20180415145237.789-1-hch@lst.de> X-Mailer: git-send-email 2.17.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All three instance of ->smp_handler deal with highmem backed requests just fine. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- drivers/scsi/scsi_transport_sas.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index 08acbabfae07..a22baf206071 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c @@ -223,10 +223,6 @@ static int sas_bsg_initialize(struct Scsi_Host *shost, struct sas_rphy *rphy) to_sas_host_attrs(shost)->q = q; } - /* - * by default assume old behaviour and bounce for any highmem page - */ - blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH); blk_queue_flag_set(QUEUE_FLAG_BIDI, q); return 0; }