Lines Matching defs:replay

24  * don't have replay code, fast commit falls back to full commits.
43 * replay.
114 * system. This is what guarantees idempotence of fast commit replay.
123 * sequence of operations as is then the replay is not idempotent. Let's say
124 * while in replay, we crash at (z). During the second replay, file A (which was
132 * inode 11 before the replay)
138 * replay, we will remove file A (inode 11). But we will create it back and make
141 * replay of last inode 11 tag. Crashes at points (w), (x) and (y) get handled
143 * idempotent outcomes, fast commits ensured idempotence during the replay.
148 * 0) Fast commit replay path hardening: Fast commit replay code should use
149 * journal handles to make sure all the updates it does during the replay
150 * path are atomic. With that if we crash during fast commit replay, after
153 * with that, fast commit replay code should ensure that the "FC_REPLAY"
154 * superblock state is persisted before starting the replay, so that after
1329 /* Helper struct for dentry replay routines */
1363 /* Unlink replay function */
1437 * we replayed this tag and crashed before the entire replay
1461 /* Link replay function */
1485 * Record all the modified inodes during replay. We use this later to setup
1515 * Inode replay function
1614 * Dentry create replay function.
1675 * and used by inodes during replay phase. Our simple replay phase
1679 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay)
1686 * during replay phase, the fc_regions_valid may not same as
1689 if (replay && state->fc_regions_used != state->fc_regions_valid)
1711 if (replay)
1806 * at the end of the FC replay using our array of
1953 * allocator that runs during replay phase is calls this function to see
1973 /* Cleanup function called after replay */
2015 * - Make sure the fast commit area has valid tags for replay
2016 * - Count number of tags that need to be replayed by the replay handler
2018 * - Create a list of excluded blocks for allocation during replay phase
2022 * to indicate that scan has finished and JBD2 can now start replay phase.
2025 * to indicate the number of tags that need to replayed during the replay phase.
2245 * We set replay callback even if fast commit disabled because we may