Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 16 Nov 2001 19:12:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 16 Nov 2001 19:12:29 -0500 Received: from [213.97.184.209] ([213.97.184.209]:43139 "HELO piraos.com") by vger.kernel.org with SMTP id ; Fri, 16 Nov 2001 19:12:18 -0500 Date: Sat, 17 Nov 2001 01:12:09 +0100 (CET) From: German Gomez Garcia To: Mailing List Linux Kernel Subject: Limiting cache on device basis. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, I would like to know if it is possible to limit the maximum cache used by a device. If not, wouldn't it be usefull? for example, you may want to limit the maximum cache used for /video (big IDE HD) to the minimum necesary to let you write arbitrary sized files to the HD, so you don't need to fix your files size. It would be usefull also to limit the cache, so /usr or /var or even /lib get enough cached as to allow important bits are keep in memory. Of course this could be set as a mount option. If setting absolute cache percent or size isn't nice, it could be done using priority settings. Regards, - german PS: Please CC'd to me as I'm not subscribed to the list. Thanks. ------------------------------------------------------------------------- German Gomez Garcia | Send email with "SEND GPG KEY" as subject | to receive my GnuPG public key. - 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/