We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
marks3
1 parent cc5faea commit 6ad9643Copy full SHA for 6ad9643
fs/netfs/read_pgpriv2.c
@@ -181,16 +181,17 @@ void netfs_pgpriv2_write_to_the_cache(struct netfs_io_request *rreq)
181
break;
182
183
folioq_unmark3(folioq, slot);
184
- if (!folioq->marks3) {
+ while (!folioq->marks3) {
185
folioq = folioq->next;
186
if (!folioq)
187
- break;
+ goto end_of_queue;
188
}
189
190
slot = __ffs(folioq->marks3);
191
folio = folioq_folio(folioq, slot);
192
193
194
+end_of_queue:
195
netfs_issue_write(wreq, &wreq->io_streams[1]);
196
smp_wmb(); /* Write lists before ALL_QUEUED. */
197
set_bit(NETFS_RREQ_ALL_QUEUED, &wreq->flags);
0 commit comments