RE: Linux 3.1-rc1 (nfs/pnfs and drivers/md)

From: tao.peng
Date: Wed Aug 10 2011 - 23:30:32 EST


Hi, Randy and Linus

> -----Original Message-----
> From: linux-nfs-owner@xxxxxxxxxxxxxxx [mailto:linux-nfs-owner@xxxxxxxxxxxxxxx]
> On Behalf Of Linus Torvalds
> Sent: Thursday, August 11, 2011 9:10 AM
> To: Randy Dunlap
> Cc: Peng Tao; Trond Myklebust; linux-raid@xxxxxxxxxxxxxxx; Linux Kernel Mailing List;
> linux-nfs@xxxxxxxxxxxxxxx
> Subject: Re: Linux 3.1-rc1 (nfs/pnfs and drivers/md)
>
> On Wed, Aug 10, 2011 at 5:58 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> >
> > The blocklayout parts of NVS_V4_1 could depend on BLOCK.  or all of NVS_V4_1
> > can depend on BLOCK.
>
> Absolutely. Replace "could" by "should".
>
> There's no way I'll take a patch to make NFS "select BLOCK". If the
> block layer isn't enabled, then NFS obviously shouldn't be doing any
> pnfs stuff.
I see. How about the following patch? We used to do like following for PNFS_BLOCK but it was changed during code review.