From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alasdair G Kergon Subject: Re: [1/1] Block device throttling [Re: Distributed storage.] Date: Fri, 31 Aug 2007 22:41:37 +0100 Message-ID: <20070831214137.GD30122@agk.fab.redhat.com> References: <20070731171347.GA14267@2ka.mipt.ru> <200708281408.06618.phillips@phunq.net> <20070829085331.GA16607@2ka.mipt.ru> <200708301620.37965.phillips@phunq.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Evgeniy Polyakov , Jens Axboe , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Peter Zijlstra , Neil Brown To: Daniel Phillips Return-path: Content-Disposition: inline In-Reply-To: <200708301620.37965.phillips@phunq.net> Sender: netdev-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Aug 30, 2007 at 04:20:35PM -0700, Daniel Phillips wrote: > Resubmitting a bio or submitting a dependent bio from > inside a block driver does not need to be throttled because all > resources required to guarantee completion must have been obtained > _before_ the bio was allowed to proceed into the block layer. I'm toying with the idea of keeping track of the maximum device stack depth for each stacked device, and only permitting it to increase in controlled circumstances. Alasdair -- agk@redhat.com