linux_dsm_epyc7002/fs/nfs/flexfilelayout
Trond Myklebust 3dc147359e 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: 446ca21953 ("pNFS/flexfiles: When initing reads or writes, we...")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2016-08-29 15:21:16 -04:00
..
flexfilelayout.c pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails 2016-08-29 15:21:16 -04:00
flexfilelayout.h pNFS/flexfiles: Fix layoutstat periodic reporting 2016-08-14 23:01:10 -04:00
flexfilelayoutdev.c pNFS/flexfiles: Fix an Oopsable condition when connection to the DS fails 2016-08-29 15:21:16 -04:00
Makefile pnfs/flexfiles: Add the FlexFile Layout Driver 2015-02-03 11:06:52 -08:00