From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Oliver Tennert <tennert@science-computing.de>
Cc: linux-kernel@vger.kernel.org, kw@science-computing.de
Subject: NFS client problem and IO blocksize
Date: Wed, 22 Jan 2003 14:06:43 +0100 [thread overview]
Message-ID: <15918.38755.480267.413305@charged.uio.no> (raw)
In-Reply-To: <Pine.GHP.4.02.10301221121260.4286-100000@alderaan.science-computing.de>
>>>>> " " == Oliver Tennert <tennert@science-computing.de> writes:
> The problem is that the rsize/wsize options seem to be ignored:
> hal9000:/home/tennert # mount -o
> nfsvers=3,udp,rsize=1024,wsize=1024 ilka2000:/scr /mnt
> hal9000:/home/tennert # stat /mnt/Snatch.avi
> File: `/mnt/Snatch.avi' Size: 724893696 Blocks: 1415816 IO
> Block: 4096 Regular File
rsize/wsize have in principle nothing to do with the blocksize that
'stat' returns. The f_bsize value specifies the 'optimal transfer
block size'. Previously this has been set to the rsize/wsize, but when
you add in O_DIRECT, then 32k becomes too large a value to align
to. For this reason, the f_bsize value was changed to reflect the
actual block size used by the *server*.
Cheers,
Trond
next prev parent reply other threads:[~2003-01-22 12:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-22 10:33 Oliver Tennert
2003-01-22 13:06 ` Trond Myklebust [this message]
2003-01-22 13:35 ` Oliver Tennert
2003-01-22 13:41 ` Trond Myklebust
2003-01-22 14:18 ` Oliver Tennert
2003-01-22 15:32 ` Trond Myklebust
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=15918.38755.480267.413305@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=kw@science-computing.de \
--cc=linux-kernel@vger.kernel.org \
--cc=tennert@science-computing.de \
/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®