Lines Matching defs:block
21 * for a single block, only the last one counts, and if there is a log
22 * entry for a block beyond the last revoke, then that log entry still
29 * The desired end result is the journaling of the new block, so we
33 * The revoke must take precedence over the write of the block, so we
35 * later in the log than the log block. In this case, we choose the
36 * latter: journaling a block cancels any revoke record for that block
37 * in the current transaction, so any revoke for that block in the
38 * transaction must have happened after the block was journaled and so
98 /* Each revoke record represents one single revoked block. During
100 last transaction to revoke this block. */
131 static inline int hash(journal_t *journal, unsigned long long block)
133 return hash_64(block, journal->j_revoke->hash_shift);
304 * prevents the block from being replayed during recovery if we take a
309 * Note that this call may block --- it is up to the caller to make
312 * revoke before clearing the block bitmap when we are deleting
381 block twice without allocating it in between! */
401 jbd_debug(2, "insert revoke for block %llu, bh_in=%p\n",blocknr, bh_in);
568 * block if the old one is full or if we have not already created one.
669 * check whether a given block in a given transaction should be replayed
678 * every block ever revoked in the log as we scan it for recovery, and
680 * single block.
701 * Test revoke records. For a given block referenced in the log, has
702 * that block been revoked? A revoke record with a given transaction