diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-04-07 13:59:08 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-04-25 14:18:14 -0400 |
commit | 33344e0f7eaa2efbf9fcc55557d02e8603aa7012 (patch) | |
tree | d4d349e0fd2dfca232c8fc02b6d47ca1ac626caf /Kbuild | |
parent | 28b1d3f5a772b705ca76df620eb9f686aa2d0b4c (diff) | |
download | linux-stable-33344e0f7eaa2efbf9fcc55557d02e8603aa7012.tar.gz linux-stable-33344e0f7eaa2efbf9fcc55557d02e8603aa7012.tar.bz2 linux-stable-33344e0f7eaa2efbf9fcc55557d02e8603aa7012.zip |
pNFS: Add tracking to limit the number of pNFS retries
When the client is reading or writing using pNFS, and hits an error
on the DS, then it typically sends a LAYOUTERROR and/or LAYOUTRETURN
to the MDS, before redirtying the failed pages, and going for a new
round of reads/writebacks. The problem is that if the server has no
way to fix the DS, then we may need a way to interrupt this loop
after a set number of attempts have been made.
This patch adds an optional module parameter that allows the admin
to specify how many times to retry the read/writeback process before
failing with a fatal error.
The default behaviour is to retry forever.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions