OSDN Git Service

pNFS/flexfile: Don't merge layout segments if the mirrors don't match
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 23 Mar 2020 19:40:20 +0000 (15:40 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:35 +0000 (16:34 -0400)
commit660d1eb22301c290945450414fb0be5ae25526f1
tree10a3ec6b1066b3fade71ea9dc1abedabd49573ca
parente18c18ebd7c128346b532729792e21d97eeb15b0
pNFS/flexfile: Don't merge layout segments if the mirrors don't match

Check that the number of mirrors, and the mirror information matches
before deciding to merge layout segments in pNFS/flexfiles.

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