public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Kris Kennaway <kris@freebsd.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS Locking violates protocol spec (incompatible with FreeBSD)
Date: 06 Nov 2003 23:46:48 -0500	[thread overview]
Message-ID: <shsk76c3hvr.fsf@charged.uio.no> (raw)
In-Reply-To: <20031107041051.GA4065@rot13.obsecurity.org>

>>>>> " " == Kris Kennaway <kris@freebsd.org> writes:


     > contains more details about this problem, including a
     > workaround for FreeBSD to limit the cookie size to 8 bytes.
     > Obviously, it would be better for this bug to be fixed in
     > Linux, since Linux is non-conformant to the protocol.

Yes. I saw a mail with a justification for why you want to be able to
wait on > 2^64 outstanding lock requests to a single lockd server, and
was highly amused.
I'm still hoping the person who decided that he needed 1024 byte
long cookies will own up some day. OTOH, he might still be busy
testing his locking code for cookie wraparound...


Anyhow, a patch exists (written by Greg Banks), and can be found as

 http://www.fys.uio.no/~trondmy/src/Linux-2.4.x/2.4.23-pre9/linux-2.4.23-01-fix_osx.dif


No. It does not extend the cookie size to 1k...

Cheers,
  Trond

  reply	other threads:[~2003-11-07  4:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07  4:10 NFS Locking violates protocol spec (incompatible with FreeBSD) Kris Kennaway
2003-11-07  4:46 ` Trond Myklebust [this message]
2003-11-07  4:53   ` Kris Kennaway
2003-11-07  6:13     ` Trond Myklebust
2003-11-07  6:32       ` Kris Kennaway

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=shsk76c3hvr.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=kris@freebsd.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