Lines Matching defs:block
55 * When reading from the journal, we are going through the block device
82 * a time to the block device IO layer. */
90 printk(KERN_ERR "JBD2: bad block at offset %u\n",
126 * Read a block from the journal
146 printk(KERN_ERR "JBD2: bad block at offset %u\n",
169 printk(KERN_ERR "JBD2: Failed to read block at offset %u\n",
199 * Count the number of in-use tags in a journal descriptor block.
250 jbd2_debug(3, "Fast commit replay: next block %ld\n",
304 jbd2_debug(1, "No recovery required, last transaction %d, head block %u\n",
330 jbd2_debug(1, "JBD2: last transaction %d, head block %lu\n",
395 unsigned long long block = be32_to_cpu(tag->t_blocknr);
397 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32;
398 return block;
403 * descriptor block.
413 /* Calculate checksum of the descriptor block. */
421 printk(KERN_ERR "JBD2: IO error %d recovering block "
492 * block offsets): query the superblock.
508 * making sure that each transaction has a commit block in the
534 * either the next descriptor block or the final commit
537 jbd2_debug(3, "JBD2: checking block %ld\n", next_log_block);
547 * If it is a descriptor block, check that it has the
568 /* OK, we have a valid descriptor block which matches
586 pr_err("JBD2: Invalid checksum recovering block %lu in log\n",
594 "invalid descriptor block found in %lu\n",
598 /* If it is a valid descriptor block, replay it
622 /* A descriptor block: we can now write all of
643 "block %ld in log\n",
652 /* If the block has been
663 /* Look for block corruption */
671 "data block %llu in "
740 * Commit block found Commit block not found
747 * before commit block
759 * otherwise it is stale journal block, just end this
782 * Found an expected commit block: if checksums
840 * Check revoke block crc in pass_scan, if csum verify
841 * failed, check commit block time later.
846 jbd2_debug(1, "JBD2: invalid revoke block found in %lu\n",
851 * just skip over this block. */
875 * known end of the log or we found an unexpected block in the