]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: Don't tie up all the rpciod threads in resends
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 18 Jun 2018 23:07:24 +0000 (19:07 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 19 Jun 2018 13:25:27 +0000 (09:25 -0400)
commit2d9a65912a455c2fed3ded70ba38d97a3f432465
tree664b44aa67881d0ad2371d9d281babf45f69838c
parent1d1f0b85bff8a7af31e4f00fca3bb127d53ac10e
pNFS/flexfiles: Don't tie up all the rpciod threads in resends

We do not want to have rpciod threads perform recursive calls into the
RPC layer since that can deadlock. In particular, having to wait for
a layoutget can be nasty... We want rather to defer scheduling those
retries until we're in the rpc_release() callback, since that is
called from the nfsiod workqueue.

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