]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b5080c62bc69c3a284d405724922e3aad5f013c
tree10a3ec6b1066b3fade71ea9dc1abedabd49573ca
parenta8623f7f988caab9a17e1efe71573f9b4ff749f0
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