linux_dsm_epyc7002/fs/nfs/flexfilelayout
Fred Isaman 65990d1afb pNFS/flexfiles: Fix a deadlock on LAYOUTGET
We encountered a deadlock where the SEQUENCE that accompanied the
LAYOUTGET triggered a session drain, while ff_layout_alloc_lseg
triggered a GETDEVICEINFO.  The GETDEVICEINFO hung waiting for the
session drain, while the LAYOUTGET held the slot waiting for
alloc_lseg to finish.
  Avoid this by moving the call to nfs4_find_get_deviceid out of
ff_layout_alloc_lseg and into nfs4_ff_layout_prepare_ds.

Signed-off-by: Fred Isaman <fred.isaman@gmail.com>
[dros@primarydata.com: pNFS/flexfiles: fix races in ff_layout_mirror_valid]
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2016-12-08 21:49:57 -05:00
..
flexfilelayout.c pNFS/flexfiles: Fix a deadlock on LAYOUTGET 2016-12-08 21:49:57 -05:00
flexfilelayout.h pNFS/flexfiles: Fix a deadlock on LAYOUTGET 2016-12-08 21:49:57 -05:00
flexfilelayoutdev.c pNFS/flexfiles: Fix a deadlock on LAYOUTGET 2016-12-08 21:49:57 -05:00
Makefile pnfs/flexfiles: Add the FlexFile Layout Driver 2015-02-03 11:06:52 -08:00