pNFS/flexfiles: The mirror count could depend on the layout segment range
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 18 Jun 2020 17:30:39 +0000 (13:30 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 13 Jul 2020 03:49:55 +0000 (23:49 -0400)
commit18eb87f4443a0a23757e8a1ce3b3fa03714702fd
tree2efd779e712e7fdabeee84a76700ad98ac9e4c73
parentf97ff92bd16644c8d6f579bc6728974057de3ca5
pNFS/flexfiles: The mirror count could depend on the layout segment range

Make sure we specify the layout segment range when calculating the
mirror count. In theory, that number could depend on the range to
which we're writing.

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