diff options
author | 2016-08-29 15:12:54 -0400 | |
---|---|---|
committer | 2016-08-29 15:21:16 -0400 | |
commit | 3dc147359e3dcdf0648f1e2c11f62cfae3160df0 (patch) | |
tree | 1282ac36c201cdc5fab01357fe5910d234403e87 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | NFSv4.1: Remove obsolete and incorrrect assignment in nfs4_callback_sequence (diff) | |
download | linux-dev-3dc147359e3dcdf0648f1e2c11f62cfae3160df0.tar.xz linux-dev-3dc147359e3dcdf0648f1e2c11f62cfae3160df0.zip |
pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails
If the attempt to connect to a DS fails inside ff_layout_pg_init_read or
ff_layout_pg_init_write, then we currently end up clearing the layout
segment carried by the struct nfs_pageio_descriptor, causing an Oops
when we later call into ff_layout_read_pagelist/ff_layout_write_pagelist.
The fix is to ensure we return the layout and then retry.
Fixes: 446ca2195303 ("pNFS/flexfiles: When initing reads or writes, we...")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions