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.
1 parent b148918 commit d07621dCopy full SHA for d07621d
fs/jbd2/journal.c
@@ -934,21 +934,13 @@ int jbd2_fc_wait_bufs(journal_t *journal, int num_blks)
934
}
935
EXPORT_SYMBOL(jbd2_fc_wait_bufs);
936
937
-/*
938
- * Wait on fast commit buffers that were allocated by jbd2_fc_get_buf
939
- * for completion.
940
- */
941
int jbd2_fc_release_bufs(journal_t *journal)
942
{
943
struct buffer_head *bh;
944
int i, j_fc_off;
945
946
j_fc_off = journal->j_fc_off;
947
948
- /*
949
- * Wait in reverse order to minimize chances of us being woken up before
950
- * all IOs have completed
951
952
for (i = j_fc_off - 1; i >= 0; i--) {
953
bh = journal->j_fc_wbuf[i];
954
if (!bh)
0 commit comments