Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262145AbVATOvi (ORCPT ); Thu, 20 Jan 2005 09:51:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262146AbVATOvi (ORCPT ); Thu, 20 Jan 2005 09:51:38 -0500 Received: from mail.kroah.org ([69.55.234.183]:16588 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262145AbVATOvc (ORCPT ); Thu, 20 Jan 2005 09:51:32 -0500 Date: Thu, 20 Jan 2005 06:50:46 -0800 From: Greg KH To: Karim Yaghmour Cc: linux-kernel , Andrew Morton , Andi Kleen , Roman Zippel , Tom Zanussi , Robert Wisniewski , Tim Bird Subject: Re: [PATCH] relayfs redux for 2.6.10: lean and mean Message-ID: <20050120145046.GF13036@kroah.com> References: <41EF4E74.2000304@opersys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EF4E74.2000304@opersys.com> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 30 On Thu, Jan 20, 2005 at 01:23:48AM -0500, Karim Yaghmour wrote: > > I've reworked the relayfs patch extensively. The API and internals > have been heavily purged. The patch is in fact almost HALF! its > original size, loosing 90KB and going from 200KB to 110KB. Hm, how about this idea for cutting about 500 more lines from the code: Why not drop the "fs" part of relayfs and just make the code a set of struct file_operations. That way you could have "relayfs-like" files in any ram based file system that is being used. Then, a user could use these fops and assorted interface to create debugfs or even procfs files using this type of interface. As relayfs really is almost the same (conceptually wise) as debugfs as far as concept of what kinds of files will be in there (nothing anyone would ever rely on for normal operations, but for debugging only) this keeps users and developers from having to spread their debugging and instrumenting files from accross two different file systems. Just an idea... thanks, greg k-h - 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/