Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756058AbYGNOET (ORCPT ); Mon, 14 Jul 2008 10:04:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753492AbYGNOEA (ORCPT ); Mon, 14 Jul 2008 10:04:00 -0400 Received: from mx1.redhat.com ([66.187.233.31]:46350 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753454AbYGNOD7 (ORCPT ); Mon, 14 Jul 2008 10:03:59 -0400 Date: Mon, 14 Jul 2008 10:03:29 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@devserv.devel.redhat.com To: David Miller cc: andi@firstfloor.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, jens.axboe@oracle.com Subject: Re: [SUGGESTION]: drop virtual merge accounting in I/O requests In-Reply-To: <20080714.052859.88212003.davem@davemloft.net> Message-ID: References: <20080713.174855.234796356.davem@davemloft.net> <20080714.052859.88212003.davem@davemloft.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 26 On Mon, 14 Jul 2008, David Miller wrote: > From: Mikulas Patocka > Date: Mon, 14 Jul 2008 08:16:13 -0400 (EDT) > >> As you mentioned ESP driver, it declares .sg_tablesize = SG_ALL, so >> BIO_VMERGE_BOUNDARY has no effect on the operation of this driver. Any >> other driver where BIO_VMERGE_BOUNDARY does matter? > > When BIO_VMERGE_BOUNDARY is turned on, requests that would not > otherwise fit into the device's limits, can. Why would someone want to overshoot SG_ALL? ... and, shouldn't the constant be increased then --- instead of making buggy BIO_VMERGE_BOUNDARY expectations? Mikulas > It's the only way to know ahead of time that the IOMMU is going > to merge things for us. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/