From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from fieldses.org ([174.143.236.118]:56425 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140Ab2LJUSQ (ORCPT ); Mon, 10 Dec 2012 15:18:16 -0500 Date: Mon, 10 Dec 2012 15:18:15 -0500 From: "J. Bruce Fields" To: Stanislav Kinsbursky Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, devel@openvz.org Subject: Re: [PATCH 0/8] nfsd: make service created per net Message-ID: <20121210201815.GA17350@fieldses.org> References: <20121206111903.29559.4853.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20121206111903.29559.4853.stgit@localhost.localdomain> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Dec 06, 2012 at 02:22:57PM +0300, Stanislav Kinsbursky wrote: > This patch set prepares service control to be able to start separated > independent NFSd services in different network namespace environments. > Key changes are: > 1) Create independent instances of NFSd service (and thus threads pool) for > each network namespace. > 2) Control generic resources allocation and destruction by usage counter. > 3) Cleanup and simplify Nfsd service start and shutdown. > 4) Move some more NFSd state parts (like boot_time and "nfsd is up" flag to > per-net data). OK, thanks, applying.--b. > > The following series implements... > > --- > > Stanislav Kinsbursky (8): > nfsd: move per-net startup code to separated function > nfsd: per-net NFSd up flag introduced > nfsd: make NFSd service boot time per-net > nfsd: make NFSd service structure allocated per net > nfsd: introduce helpers for generic resources init and shutdown > nfsd: simplify NFSv4 state init and shutdown > nfsd: replace boolean nfsd_up flag by users counter > nfsd: simplify service shutdown > > > fs/nfsd/netns.h | 9 ++ > fs/nfsd/nfs3xdr.c | 14 +++- > fs/nfsd/nfs4proc.c | 11 ++- > fs/nfsd/nfs4state.c | 14 ++-- > fs/nfsd/nfsctl.c | 63 ++++++++++------- > fs/nfsd/nfsd.h | 23 +----- > fs/nfsd/nfssvc.c | 185 +++++++++++++++++++++++++++++++++------------------ > 7 files changed, 195 insertions(+), 124 deletions(-) >