Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:31623 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbYFUK6Q (ORCPT ); Sat, 21 Jun 2008 06:58:16 -0400 Date: Sat, 21 Jun 2008 01:44:40 -0700 From: Joel Becker To: Ben Nizette Cc: Johannes Berg , "Luis R. Rodriguez" , linux-wireless , linux kernel , Greg KH , Satyam Sharma , Felix Fietkau , Al Viro , "H. Peter Anvin" Subject: Re: [RFC PATCHES] Re: Is configfs the right solution for configuration based fs? Message-ID: <20080621084440.GA25489@ca-server1.us.oracle.com> (sfid-20080621_125824_929770_F95FB62F) References: <1213002187.698.62.camel@johannes.berg> <1213056772.4089.42.camel@moss.renham> <20080619024804.GA29765@mail.oracle.com> <1213942750.2336.43.camel@moss.renham> <20080620065253.GA14238@ca-server1.us.oracle.com> <1213953776.2336.75.camel@moss.renham> <20080620213708.GC21416@mail.oracle.com> <1214010229.2336.88.camel@moss.renham> <20080621020201.GH21416@mail.oracle.com> <1214035422.2336.121.camel@moss.renham> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1214035422.2336.121.camel@moss.renham> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, Jun 21, 2008 at 06:03:42PM +1000, Ben Nizette wrote: > In the kobject/kset case the separation makes sense as kobjects are > embedded in things all over the kernel controlling things like ref > counting, device model glue, hotplug info as well as the sysfs > representation. The config_item doesn't have any responsibilities > outside of the configfs representation (does it?) so the analogy isn't > 100%. Though of course the item/group split makes sense if there are > grander plans for the config_item in the future. The config_item is indeed embedded in whatever struct it maps too. eg, the ocfs2 nodemanager can have a couple hundred nodes, and that's one config_item per. The fs/dlm stuff can have even more nodes. Joel -- Life's Little Instruction Book #222 "Think twice before burdening a friend with a secret." Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127