Re: rsize/wsize chaos in heterogeneous environments Re: [PATCH] nfs(5): Update rsize/wsize options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 Nov 2024, at 13:52, Cedric Blancher wrote:

> On Tue, 12 Nov 2024 at 15:40, Benjamin Coddington <bcodding@xxxxxxxxxx> wrote:
>>
>> On 12 Nov 2024, at 9:25, Sebastian Feld wrote:
>>
>>> Because "pagesize" is a non-portable per-platform value?
>>
>> ah.  The code we're talking about is the linux kernel which is compiled for
>> the architecture and yes - not portable anyway.
>
> It has to be portable for an Administrator. NFS rsize and wsize should
> not depend on a machine's page size.

They don't, they're just optimized to the machine's page size.

> Otherwise you cannot have such entries in /etc/fstab, instead an
> Administrator has to rely on /usr/bin/pagesize, /bin/bc and manual
> mount script just to pass the rsize+wsize in a portable manner. 100%
> not compatible to puppet and common cluster software, and even less
> portable for people using nfsroot.

Puppet and common cluster software absolutely can dynamically generate fstab
values based on machine types for this theoretical problem.

Anyway, I'm sure reasonable patches will be accepted.

Ben





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux