From: Christoph Hellwig Subject: Re: [PATCH/RFC/whatever] generic sreadahead hook ioctls Date: Fri, 19 Dec 2008 05:35:46 -0500 Message-ID: <20081219103546.GA1754@infradead.org> References: <20081210031100.GA25481@bombadil.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: arjan@infradead.org, linux-fsdevel@vger.kernel.org To: Kyle McMartin Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:43600 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbYLSKfr (ORCPT ); Fri, 19 Dec 2008 05:35:47 -0500 Content-Disposition: inline In-Reply-To: <20081210031100.GA25481@bombadil.infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Dec 09, 2008 at 10:11:00PM -0500, Kyle McMartin wrote: > Honestly, I don't know how tracing infrastructure could be used on this, > since you want the information to have existed before you want to run > sreadahead... I still strongly disagree. You add fields to every struct inode, for a feature only used during boot time on some. Even if you want to stick to the ioctl interface it should be implemented as some sort of tree / hashtable etc that can be freed after the boot is completed. Thas is if I understood the use case correctly, actually stating it in the patch would be highly appreciated.