[lkml]   [2003]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectNFS client problem and IO blocksize
>>>>> " " == Oliver Tennert <> 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*.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.039 / U:1.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site