diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2023-08-19 17:22:14 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-08-24 13:24:15 -0400 |
commit | 88975a55969e11f26fe3846bf4fbf8e7dc8cbbd4 (patch) | |
tree | d17556471437b197a82c25faddd945cdae923677 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 14e7316a3c73cf45cef4422549f3585fc1c53521 (diff) |
NFS: Fix a potential data corruption
We must ensure that the subrequests are joined back into the head before
we can retransmit a request. If the head was not on the commit lists,
because the server wrote it synchronously, we still need to add it back
to the retransmission list.
Add a call that mirrors the effect of nfs_cancel_remove_inode() for
O_DIRECT.
Fixes: ed5d588fe47f ("NFS: Try to join page groups before an O_DIRECT retransmission")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions