pnfs: add a common GETDEVICELIST implementation
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Sep 2014 04:27:58 +0000 (21:27 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:04 +0000 (12:47 -0700)
commit9dd2fcd32f488ea89c2227cc56069446147376e8
tree30ea4e772c5c64cdf8120ad960b0910f622a92bf
parent661373b13d0490ff410a2133d4a7a117f2dd037e
pnfs: add a common GETDEVICELIST implementation

At a simple helper to issue a GETDEVICELIST operation and pre-load
the device id cache based on the result.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.h
fs/nfs/pnfs_dev.c