diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-05-14 10:08:11 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-05-17 12:53:33 -0400 |
commit | 3764a17e31d579cf9b4bd0a69894b577e8d75702 (patch) | |
tree | b8ab79df808886ec9de54e8d00b50c08b181d758 /fs/nfs/write.c | |
parent | 452284407c18d8a522c3039339b1860afa0025a8 (diff) | |
download | linux-3764a17e31d579cf9b4bd0a69894b577e8d75702.tar.gz linux-3764a17e31d579cf9b4bd0a69894b577e8d75702.tar.bz2 linux-3764a17e31d579cf9b4bd0a69894b577e8d75702.zip |
NFSv4/pNFS: Do not fail I/O when we fail to allocate the pNFS layout
Commit 587f03deb69b caused pnfs_update_layout() to stop returning ENOMEM
when the memory allocation fails, and hence causes it to fall back to
trying to do I/O through the MDS. There is no guarantee that this will
fare any better. If we're failing the pNFS layout allocation, then we
should just redirty the page and retry later.
Reported-by: Olga Kornievskaia <aglo@umich.edu>
Fixes: 587f03deb69b ("pnfs: refactor send_layoutget")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions