mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Dietrich <Marc.Dietrich@ap.physik.uni-giessen.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.21-mm2
Date: Thu, 10 May 2007 22:40:12 +0200	[thread overview]
Message-ID: <200705102240.12661.marc.dietrich@ap.physik.uni-giessen.de> (raw)
In-Reply-To: <20070510122241.0b28c18a.akpm@linux-foundation.org>


Hi,

Am Donnerstag, 10. Mai 2007 21:22 schrieben Sie:
> On Thu, 10 May 2007 18:11:35 +0200 Marc Dietrich 
<Marc.Dietrich@ap.physik.uni-giessen.de> wrote:
> > Hi,
> >
> > since -mm1 I cannot create files on nfs4 shares.
> >
> > #me@localhost:/home: touch t
> > touch: setting times of `t': Input/output error
> > #me@localhost:/home: dmesg|tail -n1
> > decode_attr_group: reply buffer overflowed in line 2676.
> >
> > This problem was reported before in a different thread, but no
> > reaction....
> >
> > http://marc.info/?l=linux-kernel&m=117837974628893&w=2
>
> We had one regression there which was fixed by the below patch.
>
> That fix is now in Linus's git tree but it was not present in 2.6.21-mm2.
>
> So can you please retest either current -linus, or 2.6.21-mm2 with this
> patch?
>
> commit 6ce7dc940701cf3fde3c6e826a696b333092cbb1
> Author: Chuck Lever <chuck.lever@oracle.com>
> Date:   Tue May 8 18:23:28 2007 -0400
>
>     NFS: NFS client underestimates how large an NFSv4 SETATTR reply can be
>
>     The maximum size of an NFSv4 SETATTR compound reply should include the
>     GETATTR operation that we send.
>
>     Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
>     Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
>
> diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
> index b8c28f2..f1e2b8c 100644
> --- a/fs/nfs/nfs4xdr.c
> +++ b/fs/nfs/nfs4xdr.c
> @@ -224,7 +224,8 @@ #define NFS4_enc_setattr_sz     (compoun
>                                  encode_getattr_maxsz)
>  #define NFS4_dec_setattr_sz     (compound_decode_hdr_maxsz + \
>                                  decode_putfh_maxsz + \
> -                                op_decode_hdr_maxsz + 3)
> +                                op_decode_hdr_maxsz + 3 + \
> +                                nfs4_fattr_maxsz)
>  #define NFS4_enc_fsinfo_sz	(compound_encode_hdr_maxsz + \
>  				encode_putfh_maxsz + \
>  				encode_fsinfo_maxsz)
>

works! Seems I have missed that.

Marc


  reply	other threads:[~2007-05-10 20:40 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  8:23 2.6.21-mm2 Andrew Morton
2007-05-09 14:57 ` 2.6.21-mm2 - Kconfig horkage Valdis.Kletnieks
2007-05-09 17:07   ` Christoph Lameter
2007-05-09 17:16     ` Valdis.Kletnieks
2007-05-09 18:36       ` Christoph Lameter
2007-05-09 16:08 ` 2.6.21-mm2 - 100% CPU on ksoftirqd/1 Valdis.Kletnieks
2007-05-09 17:31   ` Andrew Morton
2007-05-09 18:12   ` Jeremy Fitzhardinge
2007-05-09 20:13     ` Valdis.Kletnieks
2007-05-11  2:52   ` Valdis.Kletnieks
2007-05-09 16:51 ` 2.6.21-mm2 - hanging with initcall_debug and netconsole Valdis.Kletnieks
2007-05-09 17:37   ` Andrew Morton
2007-05-10 11:29 ` 2.6.21-mm2 -- compat_core_sys_select() kmalloc(0) Andy Whitcroft
2007-05-10 11:48 ` 2.6.21-mm2 -- powerpc missing kset Andy Whitcroft
2007-05-10 12:16   ` Stephen Rothwell
2007-05-10 15:48     ` Randy Dunlap
2007-05-10 23:45       ` Stephen Rothwell
2007-05-10 12:21 ` ixp4xx compile error (was Re: 2.6.21-mm2) Frederik Deweerdt
2007-05-10 12:45   ` Frederik Deweerdt
2007-05-10 12:56     ` Dmitry Torokhov
2007-05-10 16:11 ` 2.6.21-mm2 Marc Dietrich
2007-05-10 19:22   ` 2.6.21-mm2 Andrew Morton
2007-05-10 20:40     ` Marc Dietrich [this message]
2007-05-11  8:27 ` [-mm patch] make csum_and_copy_from_user arch independent (was Re: 2.6.21-mm2) Frederik Deweerdt
2007-05-11  8:33   ` Andrew Morton
2007-05-11  9:14   ` [-mm patch] make csum_and_copy_from_user arch independent David Miller
2007-05-11 13:56     ` Frederik Deweerdt
2007-05-11 17:04       ` Russell King
2007-05-11 18:03 ` 2.6.21-mm2 boot failure, raid autodetect, bd_set_size+0xb/0x80 thunder7
2007-05-11 18:18   ` Andrew Morton
2007-05-11 18:53     ` thunder7
2007-05-15  3:25 ` 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP Valdis.Kletnieks
2007-05-15 14:25   ` Martin Peschke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200705102240.12661.marc.dietrich@ap.physik.uni-giessen.de \
    --to=marc.dietrich@ap.physik.uni-giessen.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®