From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933885AbXGWSGJ (ORCPT ); Mon, 23 Jul 2007 14:06:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762848AbXGWSF4 (ORCPT ); Mon, 23 Jul 2007 14:05:56 -0400 Received: from ug-out-1314.google.com ([66.249.92.170]:6678 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753638AbXGWSFz (ORCPT ); Mon, 23 Jul 2007 14:05:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=mB521H5uNY+RyHthOSlXzoeS/sqGn9tlIjHMe/CznJ+A7A+0iJAl7xBqU3LISAEq95Y2ICndypw+KqCvagkw4CdEcoA32kBXBox9YCLi3sAWZgzEhroJXrq83Oz3kMy/OF6NIQdFuC5sa31GASL9d4DN3jeuDZVf974O64QXYPk= Message-ID: Date: Mon, 23 Jul 2007 12:05:53 -0600 From: "Latchesar Ionkov" To: "Eric Van Hensbergen" Subject: Re: CTL_UNNUMBERED (Re: [PATCH] 9p: Don't use binary sysctl numbers.) Cc: "Alexey Dobriyan" , linux-kernel@vger.kernel.org, "V9FS Developers" , "Eric W. Biederman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070721205709.GB5772@martell.zuzino.mipt.ru> X-Google-Sender-Auth: f892192902498187 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org It doesn't really matter (for me) whether it is sysctl or sysfs interface. The sysctl approach seemed easier to implement. If the consensus is to use sysfs, I'll send a patch (for 2.6.24). Sorry for the incorrect implementation, I guess I stole the code from unappropriate place :) Thanks, Lucho On 7/23/07, Eric Van Hensbergen wrote: > On 7/21/07, Eric W. Biederman wrote: > > Alexey Dobriyan writes: > > > > > > > > That's separate patch but CTL_UNNUMBERED must die, because it's totally > > > unneeded. If you don't want sysctl(2) interface just SKIP ->ctl_name > > > initialization and save one line for something useful. > > > > As for the 9p code it doesn't seem to need or want a real binary > > interface. The 9p debug code picking of a semi-random number and not > > patching it into sysctl.h like it should for a binary interface is > > an implementation bug, and a maintenance problem. > > > > Now that -rc1 is out, lets talk a bit more about this. Lucho can you > provide some level of justification of why you went for a sysctl > interface versus something directly accessible within the file system > -- that would seem more on-par with the 9p philosophy. > > Perhaps its time for a general cleanup of the debug_level stuff -- it > was always ugly to have it as a global, but there was just no clear > way to have the session structure available everywhere we use it. > > -eric >