diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-27 23:12:39 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 01:21:38 +0300 |
commit | 54e4a0dfa25d9365c4e80a639e80d9213eb6edbe (patch) | |
tree | 5d1004f5fc0f7e1529e323524eda755e69ec08bd /lib/bch.c | |
parent | 9a837856cf612d83e9ede7081972a2fa78de6921 (diff) | |
download | linux-54e4a0dfa25d9365c4e80a639e80d9213eb6edbe.tar.xz |
pNFS: Fix a deadlock between read resends and layoutreturn
We must not call nfs_pageio_init_read() on a new nfs_pageio_descriptor
while holding a reference to a layout segment, as that can deadlock
pnfs_update_layout().
Fixes: d67ae825a59d6 ("pnfs/flexfiles: Add the FlexFile Layout Driver")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.0+
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions