Lines Matching refs:l_mp

107 		xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer",  in xlog_get_bp()
109 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_get_bp()
133 bp = xfs_buf_get_uncached(log->l_mp->m_logdev_targp, nbblks, 0); in xlog_get_bp()
177 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_bread_noalign()
179 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_bread_noalign()
195 if (error && !XFS_FORCED_SHUTDOWN(log->l_mp)) in xlog_bread_noalign()
262 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_bwrite()
264 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_bwrite()
535 xfs_warn(log->l_mp, in xlog_find_verify_log_record()
571 if ((error = xlog_header_check_mount(log->l_mp, head))) in xlog_find_verify_log_record()
581 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_find_verify_log_record()
629 xfs_warn(log->l_mp, "empty log check failed"); in xlog_find_head()
641 xfs_warn(log->l_mp, "totally zeroed log"); in xlog_find_head()
866 xfs_warn(log->l_mp, "failed to find log head"); in xlog_find_head()
959 xfs_warn(log->l_mp, "%s: couldn't find sync record", __func__); in xlog_find_tail()
1002 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_find_tail()
1046 log->l_mp->m_flags |= XFS_MOUNT_WAS_CLEAN; in xlog_find_tail()
1069 if (!xfs_readonly_buftarg(log->l_mp->m_logdev_targp)) in xlog_find_tail()
1076 xfs_warn(log->l_mp, "failed to locate log tail"); in xlog_find_tail()
1140 xfs_warn(log->l_mp, in xlog_find_zeroed()
1214 xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? 2 : 1); in xlog_add_record()
1218 memcpy(&recp->h_fs_uuid, &log->l_mp->m_sb.sb_uuid, sizeof(uuid_t)); in xlog_add_record()
1353 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_clear_stale_blocks()
1365 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_clear_stale_blocks()
1538 xfs_warn(log->l_mp, in xlog_recover_reorder_trans()
2319 xfs_mount_t *mp = log->l_mp; in xlog_recover_buffer_pass2()
2408 (BBTOB(bp->b_io_length) != MAX(log->l_mp->m_sb.sb_blocksize, in xlog_recover_buffer_pass2()
2409 (__uint32_t)log->l_mp->m_inode_cluster_size))) { in xlog_recover_buffer_pass2()
2507 xfs_mount_t *mp = log->l_mp; in xlog_recover_inode_pass2()
2765 xfs_warn(log->l_mp, "%s: Invalid flag", __func__); in xlog_recover_inode_pass2()
2777 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_pass2()
2828 xfs_mount_t *mp = log->l_mp; in xlog_recover_dquot_pass2()
2844 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); in xlog_recover_dquot_pass2()
2848 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", in xlog_recover_dquot_pass2()
2938 xfs_mount_t *mp = log->l_mp; in xlog_recover_efi_pass2()
3031 struct xfs_mount *mp = log->l_mp; in xlog_recover_do_icreate_pass2()
3041 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); in xlog_recover_do_icreate_pass2()
3046 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); in xlog_recover_do_icreate_pass2()
3052 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); in xlog_recover_do_icreate_pass2()
3057 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); in xlog_recover_do_icreate_pass2()
3062 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); in xlog_recover_do_icreate_pass2()
3067 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); in xlog_recover_do_icreate_pass2()
3072 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); in xlog_recover_do_icreate_pass2()
3081 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count 2"); in xlog_recover_do_icreate_pass2()
3110 struct xfs_mount *mp = log->l_mp; in xlog_recover_buffer_ra_pass2()
3128 struct xfs_mount *mp = log->l_mp; in xlog_recover_inode_ra_pass2()
3153 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_ra_pass2()
3230 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass1()
3266 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass2()
3435 xfs_warn(log->l_mp, "%s: bad header magic number", in xlog_recover_add_to_trans()
3463 xfs_warn(log->l_mp, in xlog_recover_add_to_trans()
3552 xfs_warn(log->l_mp, "%s: Unmount LR", __func__); in xlog_recovery_process_trans()
3557 xfs_warn(log->l_mp, "%s: bad flag 0x%x", __func__, flags); in xlog_recovery_process_trans()
3634 xfs_warn(log->l_mp, "%s: bad clientid 0x%x", in xlog_recover_process_ophdr()
3645 xfs_warn(log->l_mp, "%s: bad length 0x%x", __func__, len); in xlog_recover_process_ophdr()
3686 if (xlog_header_check_recover(log->l_mp, rhead)) in xlog_recover_process_data()
3826 error = xlog_recover_process_efi(log->l_mp, efip); in xlog_recover_process_efis()
3963 mp = log->l_mp; in xlog_recover_process_iunlinks()
4030 if (rhead->h_crc || xfs_sb_version_hascrc(&log->l_mp->m_sb)) { in xlog_unpack_data_crc()
4031 xfs_alert(log->l_mp, in xlog_unpack_data_crc()
4043 if (xfs_sb_version_hascrc(&log->l_mp->m_sb)) in xlog_unpack_data_crc()
4069 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_unpack_data()
4092 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4098 xfs_warn(log->l_mp, "%s: unrecognised log version (%d).", in xlog_valid_rec_header()
4107 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4112 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4148 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_do_recovery_pass()
4435 if (XFS_FORCED_SHUTDOWN(log->l_mp)) { in xlog_do_recover()
4448 xlog_assign_tail_lsn(log->l_mp); in xlog_do_recover()
4454 bp = xfs_getsb(log->l_mp, 0); in xlog_do_recover()
4463 if (!XFS_FORCED_SHUTDOWN(log->l_mp)) { in xlog_do_recover()
4472 sbp = &log->l_mp->m_sb; in xlog_do_recover()
4476 xfs_reinit_percpu_counters(log->l_mp); in xlog_do_recover()
4516 if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { in xlog_recover()
4527 if (XFS_SB_VERSION_NUM(&log->l_mp->m_sb) == XFS_SB_VERSION_5 && in xlog_recover()
4528 xfs_sb_has_incompat_log_feature(&log->l_mp->m_sb, in xlog_recover()
4530 xfs_warn(log->l_mp, in xlog_recover()
4534 (log->l_mp->m_sb.sb_features_log_incompat & in xlog_recover()
4545 xfs_notice(log->l_mp, in xlog_recover()
4551 xfs_notice(log->l_mp, "Starting recovery (logdev: %s)", in xlog_recover()
4552 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover()
4586 xfs_alert(log->l_mp, "Failed to recover EFIs"); in xlog_recover_finish()
4595 xfs_log_force(log->l_mp, XFS_LOG_SYNC); in xlog_recover_finish()
4601 xfs_notice(log->l_mp, "Ending recovery (logdev: %s)", in xlog_recover_finish()
4602 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover_finish()
4606 xfs_info(log->l_mp, "Ending clean mount"); in xlog_recover_finish()
4631 mp = log->l_mp; in xlog_recover_check_summary()