From: buhr@stat.wisc.edu (Kevin Buhr)
To: trond.myklebust@fys.uio.no
Cc: linux-kernel@vger.kernel.org
Subject: Re: negative NFS cookies: bad C library or bad kernel?
Date: 03 Dec 2000 23:28:02 -0600 [thread overview]
Message-ID: <vbaelzo21st.fsf@mozart.stat.wisc.edu> (raw)
In-Reply-To: <vbaaeae2joz.fsf@mozart.stat.wisc.edu> <14890.19197.796098.104054@charged.uio.no>
In-Reply-To: Trond Myklebust's message of "Sun, 3 Dec 2000 14:30:37 +0100 (CET)"
Trond Myklebust <trond.myklebust@fys.uio.no> writes:
>
> The problem then arises that lseek tries to cram both a returned
> offset and an error value into the return values.
Oops. You're right; I didn't think of this.
So, I guess the best short-term solution is to fix the C library so it
always uses llseek for directories and never tries something stupid
like a SEEK_CUR. Then, at least it'll always work for NFSv2. I'll
file a bug report.
At the same time, a patch for CFS to use "small" (from a little-endian
perspective) cookies couldn't hurt, so I'll do that, too.
Thanks for the help.
Kevin <buhr@stat.wisc.edu>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-04 5:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-03 4:49 Kevin Buhr
2000-12-03 13:30 ` Trond Myklebust
2000-12-04 5:28 ` Kevin Buhr [this message]
2000-12-04 23:40 ` Pavel Machek
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=vbaelzo21st.fsf@mozart.stat.wisc.edu \
--to=buhr@stat.wisc.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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®