From: Christoph Hellwig Date: Wed, 3 Sep 2014 04:27:57 +0000 (-0700) Subject: pnfs: factor GETDEVICEINFO implementations X-Git-Tag: fixes-for-v3.18-merge-window~10^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661373b13d0490ff410a2133d4a7a117f2dd037e;p=pandora-kernel.git pnfs: factor GETDEVICEINFO implementations Add support to the common pNFS core to issue GETDEVICEINFO calls on a device ID cache miss. The code is taken from the well debugged file layout implementation and calls out to the layoutdriver through a new alloc_deviceid_node method. The calling conventions for nfs4_find_get_deviceid are changed so that all information needed to send a GETDEVICEINFO request is passed to the common code. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed