Change Summary:
Removed an obsolete comment from
nfs4close_otw()
.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+7 -31) |
Review Request #591 — Created June 19, 2017 and submitted
Information | |
---|---|
marcel | |
illumos-gate | |
master | |
8040 | |
afe8399... | |
Reviewers | |
general | |
This fixes a 3-way deadlock in NFSv4 client.
I tested the fix using steps at https://www.illumos.org/issues/8040#note-2 and I confirmed the deadlock is no longer reproducible. This fix is in production for about 3 years now without any regression found.
Removed an obsolete comment from
nfs4close_otw()
.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+7 -31) |
usr/src/uts/common/fs/nfs/nfs4_client.c (Diff revision 2) |
---|
I see that r_serial is set only in this function and at the end always is reset to NULL.
Is it possible that @was_serial is always FALSE here or I missed something ? In other words, if @was_serial is TRUE, it should mean that nfs4_attr_cache() is nested call, but I don't see where it can happen.
Nits fixes.
Testing Done: |
|
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||||||||
Diff: |
Revision 3 (+9 -33) |
commit 6dc7d05754d992040097e8ba8f85e77512125c60 Author: Marcel Telka <marcel@telka.sk> AuthorDate: Tue Dec 15 22:08:36 2020 +0100 Commit: Gordon Ross <gordon.ross@tintri.com> CommitDate: Fri Jan 8 09:50:43 2021 -0500 8040 NFSv4 client: 3-way deadlock between nfs4_bio(), nfs4_do_delegreturn(), and nfs4_flush_pages() Reviewed by: Arne Jansen <arne@die-jansens.de> Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com> :100644 100644 5456fc7c63 856da430ea M usr/src/uts/common/fs/nfs/nfs4_client.c :100644 100644 9f4099c3f8 db93bf2e72 M usr/src/uts/common/fs/nfs/nfs4_vnops.c