Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755131AbbBTSKn (ORCPT ); Fri, 20 Feb 2015 13:10:43 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:34936 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754560AbbBTSKl (ORCPT ); Fri, 20 Feb 2015 13:10:41 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: "J. Bruce Fields" Cc: Ian Kent , David Howells , Kernel Mailing List , Oleg Nesterov , Trond Myklebust , Benjamin Coddington , Al Viro , Jeff Layton References: <20150205023423.8382.69433.stgit@pluto.fritz.box> <20150205021553.8382.16297.stgit@pluto.fritz.box> <12365.1423149270@warthog.procyon.org.uk> <1423187245.3299.37.camel@pluto.fritz.box> <20150218170620.GI4148@fieldses.org> <20150218173132.GJ4148@fieldses.org> <20150218205908.GB12573@fieldses.org> <1424306341.2649.12.camel@pluto.fritz.box> <20150219013116.GA13131@fieldses.org> <1424424805.2632.24.camel@pluto.fritz.box> <20150220172558.GD18103@fieldses.org> Date: Fri, 20 Feb 2015 12:07:15 -0600 In-Reply-To: <20150220172558.GD18103@fieldses.org> (J. Bruce Fields's message of "Fri, 20 Feb 2015 12:25:58 -0500") Message-ID: <877fvc319o.fsf@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-AID: U2FsdGVkX19JP+gxCz5zwqxBI8X80AVh8kgNNON1vxI= X-SA-Exim-Connect-IP: 70.59.163.10 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.7 XMSubLong Long Subject * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa05 1397; Body=1 Fuz1=1 Fuz2=1] * 1.0 T_XMDrugObfuBody_08 obfuscated drug references * 0.0 T_TooManySym_02 5+ unique symbols in subject * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa05 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;"J. Bruce Fields" X-Spam-Relay-Country: X-Spam-Timing: total 248 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.7 (1.1%), b_tie_ro: 2.0 (0.8%), parse: 0.61 (0.2%), extract_message_metadata: 9 (3.8%), get_uri_detail_list: 0.69 (0.3%), tests_pri_-1000: 4.2 (1.7%), tests_pri_-950: 1.06 (0.4%), tests_pri_-900: 0.88 (0.4%), tests_pri_-400: 16 (6.5%), check_bayes: 15 (6.1%), b_tokenize: 4.2 (1.7%), b_tok_get_all: 5 (2.2%), b_comp_prob: 1.55 (0.6%), b_tok_touch_all: 2.3 (0.9%), b_finish: 0.64 (0.3%), tests_pri_0: 205 (82.9%), tests_pri_500: 4.6 (1.9%), rewrite_mail: 0.00 (0.0%) Subject: Re: [RFC PATCH 5/8] KEYS: exec request-key within the requesting task's init namespace X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Wed, 24 Sep 2014 11:00:52 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1141 Lines: 28 "J. Bruce Fields" writes: > On Fri, Feb 20, 2015 at 05:33:25PM +0800, Ian Kent wrote: >> The case of nfsd state-recovery might be similar but you'll need to help >> me out a bit with that too. > > Each network namespace can have its own virtual nfs server. Servers can > be started and stopped independently per network namespace. We decide > which server should handle an incoming rpc by looking at the network > namespace associated with the socket that it arrived over. > > A server is started by the rpc.nfsd command writing a value into a magic > file somewhere. nit. Unless I am completely turned around that file is on the nfsd filesystem, that lives in fs/nfsd/nfs.c. So I bevelive this really is a case of figuring out what we want the semantics to be for mount and propogating the information down from mount to where we call the user mode helpers. Eric -- 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/