From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from magus.merit.edu ([198.108.1.13]:43153 "EHLO magus.merit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753514Ab0GUW3k (ORCPT ); Wed, 21 Jul 2010 18:29:40 -0400 Date: Wed, 21 Jul 2010 18:29:38 -0400 From: Jim Rees To: bhalevy@panasas.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH 0/2] complex block layout Message-ID: Content-Type: text/plain; charset=us-ascii Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 This is a replacement for the patch set I sent last week, rebased to current pnfs-all-latest and incorporating suggestions both from reviewers and from checkpatch.pl. These two patches move the complex block layout device mapping from the kernel to a user space daemon. The first patch adds a simple upcall mechanism via pipefs for the kernel piece to communicate with the daemon. The second patch removes the kernel device mapping and replaces it with calls to the daemon. Passes Connectathon tests to both EMC and spnfs servers. The user daemon will be sent separately as a patch to nfs-utils. Haiying Tang (2): pnfs-block: Add support for simple rpc pipefs pnfs-block: Remove device creation from kernel fs/nfs/blocklayout/Makefile | 2 +- fs/nfs/blocklayout/block-device-discovery-pipe.c | 66 +++ fs/nfs/blocklayout/blocklayout.c | 15 +- fs/nfs/blocklayout/blocklayout.h | 18 +- fs/nfs/blocklayout/blocklayoutdev.c | 494 +++------------------- fs/nfs/blocklayout/blocklayoutdm.c | 297 ++----------- include/linux/sunrpc/rpc_pipe_fs.h | 4 + include/linux/sunrpc/simple_rpc_pipefs.h | 111 +++++ net/sunrpc/Makefile | 2 +- net/sunrpc/simple_rpc_pipefs.c | 424 +++++++++++++++++++ 10 files changed, 721 insertions(+), 712 deletions(-) create mode 100644 fs/nfs/blocklayout/block-device-discovery-pipe.c create mode 100644 include/linux/sunrpc/simple_rpc_pipefs.h create mode 100644 net/sunrpc/simple_rpc_pipefs.c