]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Avoid spurious layout returns in ff_layout_choose_ds_for_read
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 16 Dec 2020 19:01:07 +0000 (14:01 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 16 Dec 2020 22:25:24 +0000 (17:25 -0500)
commit78a023ecd451d893e0649ff4b13d7f1516182573
tree926874ba0a6acae49bacba779a5281a7a0a48d70
parentc47254ae6e5474a47a3e4e73ce7777c661f4e949
pNFS/flexfiles: Avoid spurious layout returns in ff_layout_choose_ds_for_read

The callers of ff_layout_choose_ds_for_read() should decide whether or
not they want to return the layout on error. Sometimes, we may just want
to retry from the beginning.

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