Re: [PATCH] pnfs: Automatically select blocks & objects layouts

From: Jim Rees
Date: Thu Aug 11 2011 - 18:19:32 EST

Boaz Harrosh wrote:

What about the below? based on v3.1-rc1

From: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
Subject: [PATCH] pnfs: Automatically select blocks & objects layouts

Just like files-layout, blocks & objects layouts are part of the
NFS 4.1 protocol and should be automatically selected if NFS_4_1
is selected. The small problem is that these depend on other
Kernel support being present, while files only depends on NFS

This patch removes from the user choice the presence of objects
and blocks layout. But makes sure these are selected only if
the depended subsystems are present in the Kernel.

Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx>

Acked-by: Jim Rees <rees@xxxxxxxxx>

I think this is what we want. There is no point allowing the user to pick
and choose various layout drivers. If they have selected nfs4.1 they should
get all the layout drivers their kernel will support, based on the
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at