]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4.1/flexfile: Ensure uniqueness of mirrors across layout segments
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Aug 2015 00:03:17 +0000 (20:03 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 25 Aug 2015 18:40:08 +0000 (14:40 -0400)
commit266d12d42ebd2587d3d0e8c4a4e54bfb5ed29543
treeaf31af455618b12b5bd4e72695b2c3e3f04c10b0
parent0b7baf9433d4e0a0c83eecbadc1f035d5370c6dc
NFSv4.1/flexfile: Ensure uniqueness of mirrors across layout segments

Keep the full list of mirrors in the struct nfs4_ff_layout_mirror so that
they can be shared among the layout segments that use them.
Also ensure that we send out only one copy of the layoutstats per mirror.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h