Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753755AbbFUKIM (ORCPT ); Sun, 21 Jun 2015 06:08:12 -0400 Received: from verein.lst.de ([213.95.11.211]:38411 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbbFUKID (ORCPT ); Sun, 21 Jun 2015 06:08:03 -0400 Date: Sun, 21 Jun 2015 12:08:01 +0200 From: Christoph Hellwig To: Dan Williams Cc: axboe@kernel.dk, linux-nvdimm@ml01.01.org, boaz@plexistor.com, toshi.kani@hp.com, Vishal Verma , linux-kernel@vger.kernel.org, hch@lst.de, linux-acpi@vger.kernel.org, linux-fsdevel@vger.kernel.org, mingo@kernel.org Subject: Re: [PATCH 10/15] libnvdimm: fix up max_hw_sectors Message-ID: <20150621100801.GC5915@lst.de> References: <20150617235209.12943.24419.stgit@dwillia2-desk3.amr.corp.intel.com> <20150617235541.12943.86562.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150617235541.12943.86562.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 367 Lines: 11 > +void nd_blk_queue_init(struct request_queue *q) > +{ > + blk_queue_max_hw_sectors(q, UINT_MAX); > + blk_queue_bounce_limit(q, BLK_BOUNCE_ANY); > +} Please just add the calls to the drivers instead of this helper which hides the intent. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/