From: Petr Vandrovec Subject: Re: Networked filesystems vs backing_dev_info Date: Sun, 28 Oct 2007 00:46:07 -0700 Message-ID: <47243E3F.9060307@vc.cvut.cz> References: <1193477666.5648.61.camel@lappy> <524f69650710271402g65a9ec1cqcc7bc3a964097e39@mail.gmail.com> <1193520625.27652.30.camel@twins> <1193521041.27652.37.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Steve French , linux-kernel , linux-fsdevel , David Howells , sfrench@samba.org, jaharkes@cs.cmu.edu, Andrew Morton To: Peter Zijlstra Return-path: Received: from mailgw.cvut.cz ([147.32.3.235]:59115 "EHLO mailgw.cvut.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750792AbXJ1INf (ORCPT ); Sun, 28 Oct 2007 04:13:35 -0400 In-Reply-To: <1193521041.27652.37.camel@twins> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Peter Zijlstra wrote: > On Sat, 2007-10-27 at 23:30 +0200, Peter Zijlstra wrote: >> So in short, stick a struct backing_dev_info into whatever represents a >> client, initialize it using bdi_init(), destroy using bdi_destroy(). > > Oh, and the most important point, make your fresh I_NEW inodes point to > this bdi struct. > >> Mark it congested once you have 50 (or more) outstanding requests, clear >> congestion when you drop below 50. >> and you should be set. Thanks. Unfortunately I do not think that NCPFS will switch to backing_dev_info - it uses pagecache only for symlinks and directories, and even if it would use pagecache, as most of servers refuse concurrent requests even if TCP is used as a transport, there can be only one request in flight... Petr P.S.: And if anyone wants to step in as ncpfs maintainer, feel free. I did not see NetWare server for over year now...