From: Marcin Glogowski Subject: Question about buffer.c Date: Tue, 27 Jun 2006 15:34:02 +0200 Message-ID: <20060627153402.09f916b7.marcin.glogowski@interia.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp4.poczta.interia.pl ([80.48.65.7]:23864 "EHLO smtp4.poczta.interia.pl") by vger.kernel.org with ESMTP id S932398AbWF0NeF (ORCPT ); Tue, 27 Jun 2006 09:34:05 -0400 Received: from poczta.interia.pl (mi04.poczta.interia.pl [10.217.12.4]) by smtp4.poczta.interia.pl (INTERIA.PL) with ESMTP id 74507377A11 for ; Tue, 27 Jun 2006 15:34:03 +0200 (CEST) Received: from silentdeath (cuv2.internetdsl.tpnet.pl [83.19.77.2]) by poczta.interia.pl (INTERIA.PL) with ESMTP id 910C4142FCA for ; Tue, 27 Jun 2006 15:33:59 +0200 (CEST) To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, I have big problem with my squash (also ROM) compressed filesystem. My problem is when I'm copying something from mounted loop device the buffer cache memory is growing up - I want to disable block caching because Linux is killing processess because of the buffered inodes. Please tell me how to remove free list or touched buffer heads, or how to set the minimum cache size. I tried to delete the bh with the brelse(bh); function but the /proc/memory shows that the buffer head wasn't released. Is there an alternative for the getblk or ll_rw_block functions that don't use cache memory? Best regards, Marcin Glogowski ---------------------------------------------------------------------- PS. Fajny portal... >>> http://link.interia.pl/f196a