Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-vw0-f46.google.com ([209.85.212.46]:60579 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202Ab2AJVys convert rfc822-to-8bit (ORCPT ); Tue, 10 Jan 2012 16:54:48 -0500 Received: by vbbfc26 with SMTP id fc26so47342vbb.19 for ; Tue, 10 Jan 2012 13:54:47 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20120109225619.GA17604@fieldses.org> References: <1325843116-20570-1-git-send-email-tigran.mkrtchyan@desy.de> <20120109225619.GA17604@fieldses.org> Date: Tue, 10 Jan 2012 22:54:46 +0100 Message-ID: Subject: Re: [PATH v5 0/8] process current stateid From: Tiramisu Mokka To: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org, Tigran Mkrtchyan Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, Jan 9, 2012 at 23:56, J. Bruce Fields wrote: > On Fri, Jan 06, 2012 at 10:45:08AM +0100, Tigran Mkrtchyan wrote: >> From: Tigran Mkrtchyan >> >> Yet another update (v5) of current stateid handling >> >> re-based to Benny's git branch pnfs-all-latest ( to include PNFS operations ) >> >> Includes a patch from Bruce f32f3c2d3f09a586349ca9180885dc8741290fd9 >> >> I have tested: >> >> OPEN+READ+CLOSE >> OPEN+WRITE+CLOSE >> OPEN+LOCK+WRITE+LOCKU+CLOSE >> OPEN+PUTROOTFH+CLOSE > > Thanks, Tigran! > > How far are we from being done?  I think some more operations still need > handling (as in e.g. > >        http://article.gmane.org/gmane.linux.nfs/45593/match=current+stateid > > ). well, there is not that much left. I hope to finish till end of this or next week. Testing is the slowest part. Tigran. > > I don't think we have to have pynfs tests for every single of of those, > as they're mostly pretty similar. > > When it's ready to be merged, I'd like it rebased on my tree > (git://linux-nfs.org/~bfields/linux.git, for-next branch is fine), > without any of the pNFS bits initially. > > --b. > > >> >> >> implemented but not tested >> OPEN+LAYOUTGET >> >> Tigran. >> >> Tigran Mkrtchyan (8): >>   nfsd4: initialize special stateid's at compile time >>   nfsd41: handle current stateid in open and close >>   nfsd41: handle current stateid on lock and locku >>   nfsd41: consume current stateid on read and write >>   nfsd41: mark PUTFH, PUTPUBFH and PUTROOTFH to clear current stateid >>   nfsd41: save and restore current stateid with current fh >>   nfsd41: mark LOOKUP, LOOKUPP and CREATE to invalidate current stateid >>   nfsv41: handle current stateid on LAYOUTGET >> >>  fs/nfsd/current_stateid.h |   23 +++++++++++ >>  fs/nfsd/nfs4proc.c        |   53 ++++++++++++++++++++----- >>  fs/nfsd/nfs4state.c       |   95 ++++++++++++++++++++++++++++++++++++++++++-- >>  fs/nfsd/xdr4.h            |    2 + >>  4 files changed, 158 insertions(+), 15 deletions(-) >>  create mode 100644 fs/nfsd/current_stateid.h >> >> -- >> 1.7.7.5 >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at  http://vger.kernel.org/majordomo-info.html