Hi Bruce, The following patches make a flex file server in which the mds and the ds are the same machine. And the same inode services both metadata and data. My biggest concern is the selection of layout type in nfsd4_setup_layout_type(). If CONFIG_NFSD_BLOCKLAYOUT, CONFIG_NFSD_SCSILAYOUT, and CONFIG_NFSD_FLEXFILELAYOUT are all selected, then the flex file layout type will win. :-) These patches are also in my flex_server branch at git://git.linux-nfs.org/projects/loghyr/linux-nfs.git Thanks, Tom Tom Haynes (4): nfsd: flex file device id encoding will need the server addres nfsd: Can leak pnfs_block_extent on error nfsd: Add a super simple flex file server nfsd: Provide a config option for flex file layouts fs/nfsd/Kconfig | 13 ++++ fs/nfsd/Makefile | 1 + fs/nfsd/blocklayout.c | 6 +- fs/nfsd/flexfilelayout.c | 148 ++++++++++++++++++++++++++++++++++++++++++++ fs/nfsd/flexfilelayoutxdr.c | 116 ++++++++++++++++++++++++++++++++++ fs/nfsd/flexfilelayoutxdr.h | 50 +++++++++++++++ fs/nfsd/nfs4layouts.c | 10 +++ fs/nfsd/nfs4proc.c | 1 + fs/nfsd/pnfs.h | 4 ++ 9 files changed, 348 insertions(+), 1 deletion(-) create mode 100644 fs/nfsd/flexfilelayout.c create mode 100644 fs/nfsd/flexfilelayoutxdr.c create mode 100644 fs/nfsd/flexfilelayoutxdr.h -- 1.8.3.1 -- 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