Re: [RFC PATCH] nfs: Support posix_fadvise(POSIX_FADV_RANDOM) on nfs server.

From: Chuck Lever
Date: Sat Jun 23 2012 - 09:31:52 EST




Sent from my iPad

On Jun 23, 2012, at 7:51 AM, Jim Rees <rees@xxxxxxxxx> wrote:

> Namjae Jeon wrote:
>
> From: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>
>
> This patch disable readahead for a file on NFS Server when
> posix_fadvise(fd..., POSIX_FADV_RANDOM) is called on NFS
> Client.
>
> It looks like you're adding an argument to the read op. Wouldn't that be an
> incompatible change? In which case wouldn't it be better to propose this
> for inclusion in NFS 4.2? In fact didn't Dean propose this? What ever
> happened with that?

Yes, posix_fadvise support is part of NFSv4.2.

> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
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/