Commit db880e1
committed
NFS: O_DIRECT writes must check and adjust the file length
jira LE-3497
Rebuild_History Non-Buildable kernel-5.14.0-570.24.1.el9_6
commit-author Trond Myklebust <[email protected]>
commit fcf857e
While it is uncommon for delegations to be held while O_DIRECT writes
are in progress, it is possible. The xfstests generic/647 and
generic/729 both end up triggering that state, and end up failing due to
the fact that the file size is not adjusted.
Reported-by: Chuck Lever <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219738
Cc: [email protected]
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
(cherry picked from commit fcf857e)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 833cb8c commit db880e1
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
133 | 147 | | |
134 | 148 | | |
135 | 149 | | |
| |||
732 | 746 | | |
733 | 747 | | |
734 | 748 | | |
| 749 | + | |
735 | 750 | | |
736 | 751 | | |
737 | 752 | | |
| |||
753 | 768 | | |
754 | 769 | | |
755 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
756 | 775 | | |
757 | 776 | | |
758 | 777 | | |
| |||
0 commit comments