[pnfs] [PATCH] Fixed client's NFS40_enc_getattr_sz calculation.

Trond Myklebust trond.myklebust at fys.uio.no
Thu Nov 8 16:23:29 EST 2007


On Thu, 2007-11-08 at 11:48 -0800, Mike Sager wrote:
> From: root <root at sager1.hq.netapp.com>
> 
> The calculation was omitting encode_putfh_maxsz.
> 
> Signed-off-by: Mike Sager <sager at netapp.com>
> ---

There were a number of fixes of this nature that went into 2.6.23. It
might therefore be worth doing an audit to see whether or not you need
to update the pNFS size calculations too.

Cheers
  Trond

commit e3a535e1739a9da3cc316ccdfe5cd4bf84d745ac
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Thu Jul 19 10:03:38 2007 -0400

    NFSv4: Fix the nfsv4 readlink reply buffer alignment
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit d6ac02dfaa6c423874839fe289c7320624aa9288
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Thu Jul 19 10:03:37 2007 -0400

    NFSv4: Fix the readdir reply buffer alignment
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 9104a55dc382c4aae42dff3f54351085cbcb7317
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Tue Jul 17 21:52:42 2007 -0400

    NFSv4: More NFSv4 xdr cleanups
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit e6889620e89525ebf41f0eed937edb3dc065cf1d
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Mon Jul 2 13:58:30 2007 -0400

    NFSv4: Fix underestimate of NFSv4 lookup request size
    
    Also fix up the underestimate of fs_locations
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit 2cebf82883f49fd26148da5d9a43d1b4363f1d59
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Mon Jul 2 13:57:28 2007 -0400

    NFSv4: Fix the underestimate of NFSv4 open request size
    
    The maximum size depends on the filename size and a number of other
    elements which are currently not being counted.
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit bd625ba80d84d9de003b8a4bf61fd937b82aca09
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Sun Jul 8 18:38:23 2007 -0400

    NFSv4: Fix the NFSv4 owner and owner_group size estimates
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>

commit ab91f264cfbafd079dcb1bd02e9803c2dd65de19
Author: Trond Myklebust <Trond.Myklebust at netapp.com>
Date:   Fri Feb 2 14:47:17 2007 -0800

    NFSv4: Fix NFS4_enc_server_caps_sz/NFS4_dec_server_caps_sz
    
    Insert missing encode_putfh_maxsz/decode_putfh_maxsz
    
    Signed-off-by: Trond Myklebust <Trond.Myklebust at netapp.com>





More information about the pNFS mailing list