Re: [RFC][Resend] Make NFS-Client readahead tunable

From: Martin Knoblauch
Date: Thu Sep 18 2008 - 07:53:33 EST


----- Original Message ----

> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> To: Martin Knoblauch <knobi@xxxxxxxxxxxx>
> Cc: Greg Banks <gnb@xxxxxxxxxxxxxxxxx>; linux-nfs list <linux-nfs@xxxxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; Peter zijlstra <a.p.zijlstra@xxxxxxxxx>
> Sent: Thursday, September 18, 2008 10:47:33 AM
> Subject: Re: [RFC][Resend] Make NFS-Client readahead tunable
>
> On Thu, 18 Sep 2008 01:38:57 -0700 (PDT) Martin Knoblauch
> wrote:
>
> > > No. mount(8) will pass unrecognised options straight down into the
> > > filesystem driver.
> > >
> >
> > Has that always been the case, or is it a recent change? I have to support
> RHEL4 userland, which is not really new.
>
> It's been that way for ever and ever. It's how all these guys:
>
> y:/usr/src/25> grep Opt_ fs/*/super.c|wc
> 781 2626 33703
>
> get handled.

while that seems to be not to complicated, I seem to have a problem passing the mount options to the kernel. They come down as mount data version "6". Apparently mount(8) or mount.nfs(8) are doing the parsing and send down the legacy data block. So, what is the minimum version of mount or mount.nfs that pass the options down unaltered?

Cheers
Martin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/