]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Sep 2014 00:37:27 +0000 (17:37 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 12 Sep 2014 17:33:50 +0000 (13:33 -0400)
commit5c83746a0cf2831d4b59f5cf99ef5fbf138564e4
treefebe14fb7fea5b7716fc07a2996be4253f09a663
parent871760ce97a9a544cfb1ae4589598b25b8570a25
pnfs/blocklayout: in-kernel GETDEVICEINFO XDR parsing

This patches moves parsing of the GETDEVICEINFO XDR to kernel space, as well
as the management of complex devices.  The reason for that is we might have
multiple outstanding complex devices after a NOTIFY_DEVICEID4_CHANGE, which
device mapper or md can't handle as they claim devices exclusively.

But as is turns out simple striping / concatenation is fairly trivial to
implement anyway, so we make our life simpler by reducing the reliance
on blkmapd.  For now we still use blkmapd by feeding it synthetic SIMPLE
device XDR to translate device signatures to device numbers, but in the
long runs I have plans to eliminate it entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/blocklayout/Makefile
fs/nfs/blocklayout/blocklayout.c
fs/nfs/blocklayout/blocklayout.h
fs/nfs/blocklayout/dev.c [new file with mode: 0644]
fs/nfs/blocklayout/rpc_pipefs.c