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()
2328 xfs_mount_t *mp = log->l_mp; in xlog_recover_buffer_pass2()
2417 (BBTOB(bp->b_io_length) != MAX(log->l_mp->m_sb.sb_blocksize, in xlog_recover_buffer_pass2()
2418 (__uint32_t)log->l_mp->m_inode_cluster_size))) { in xlog_recover_buffer_pass2()
2516 xfs_mount_t *mp = log->l_mp; in xlog_recover_inode_pass2()
2774 xfs_warn(log->l_mp, "%s: Invalid flag", __func__); in xlog_recover_inode_pass2()
2786 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_pass2()
2837 xfs_mount_t *mp = log->l_mp; in xlog_recover_dquot_pass2()
2853 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); in xlog_recover_dquot_pass2()
2857 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", in xlog_recover_dquot_pass2()
2947 struct xfs_mount *mp = log->l_mp; in xlog_recover_efi_pass2()
3043 struct xfs_mount *mp = log->l_mp; in xlog_recover_do_icreate_pass2()
3058 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); in xlog_recover_do_icreate_pass2()
3063 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); in xlog_recover_do_icreate_pass2()
3069 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); in xlog_recover_do_icreate_pass2()
3074 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); in xlog_recover_do_icreate_pass2()
3079 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); in xlog_recover_do_icreate_pass2()
3084 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); in xlog_recover_do_icreate_pass2()
3089 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); in xlog_recover_do_icreate_pass2()
3099 xfs_warn(log->l_mp, in xlog_recover_do_icreate_pass2()
3106 xfs_warn(log->l_mp, in xlog_recover_do_icreate_pass2()
3160 struct xfs_mount *mp = log->l_mp; in xlog_recover_buffer_ra_pass2()
3178 struct xfs_mount *mp = log->l_mp; in xlog_recover_inode_ra_pass2()
3203 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_ra_pass2()
3280 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass1()
3316 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass2()
3441 xfs_warn(log->l_mp, "%s: bad header length", __func__); in xlog_recover_add_to_cont_trans()
3495 xfs_warn(log->l_mp, "%s: bad header magic number", in xlog_recover_add_to_trans()
3502 xfs_warn(log->l_mp, "%s: bad header length", __func__); in xlog_recover_add_to_trans()
3535 xfs_warn(log->l_mp, in xlog_recover_add_to_trans()
3624 xfs_warn(log->l_mp, "%s: Unmount LR", __func__); in xlog_recovery_process_trans()
3629 xfs_warn(log->l_mp, "%s: bad flag 0x%x", __func__, flags); in xlog_recovery_process_trans()
3706 xfs_warn(log->l_mp, "%s: bad clientid 0x%x", in xlog_recover_process_ophdr()
3717 xfs_warn(log->l_mp, "%s: bad length 0x%x", __func__, len); in xlog_recover_process_ophdr()
3758 if (xlog_header_check_recover(log->l_mp, rhead)) in xlog_recover_process_data()
3898 error = xlog_recover_process_efi(log->l_mp, efip); in xlog_recover_process_efis()
4079 mp = log->l_mp; in xlog_recover_process_iunlinks()
4146 if (rhead->h_crc || xfs_sb_version_hascrc(&log->l_mp->m_sb)) { in xlog_unpack_data_crc()
4147 xfs_alert(log->l_mp, in xlog_unpack_data_crc()
4159 if (xfs_sb_version_hascrc(&log->l_mp->m_sb)) in xlog_unpack_data_crc()
4185 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_unpack_data()
4208 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4214 xfs_warn(log->l_mp, "%s: unrecognised log version (%d).", in xlog_valid_rec_header()
4223 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4228 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
4264 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_do_recovery_pass()
4551 if (XFS_FORCED_SHUTDOWN(log->l_mp)) { in xlog_do_recover()
4564 xlog_assign_tail_lsn(log->l_mp); in xlog_do_recover()
4570 bp = xfs_getsb(log->l_mp, 0); in xlog_do_recover()
4579 if (!XFS_FORCED_SHUTDOWN(log->l_mp)) { in xlog_do_recover()
4588 sbp = &log->l_mp->m_sb; in xlog_do_recover()
4592 xfs_reinit_percpu_counters(log->l_mp); in xlog_do_recover()
4626 if (xfs_sb_version_hascrc(&log->l_mp->m_sb) && in xlog_recover()
4627 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover()
4642 if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { in xlog_recover()
4653 if (XFS_SB_VERSION_NUM(&log->l_mp->m_sb) == XFS_SB_VERSION_5 && in xlog_recover()
4654 xfs_sb_has_incompat_log_feature(&log->l_mp->m_sb, in xlog_recover()
4656 xfs_warn(log->l_mp, in xlog_recover()
4658 (log->l_mp->m_sb.sb_features_log_incompat & in xlog_recover()
4660 xfs_warn(log->l_mp, in xlog_recover()
4662 xfs_warn(log->l_mp, in xlog_recover()
4673 xfs_notice(log->l_mp, in xlog_recover()
4679 xfs_notice(log->l_mp, "Starting recovery (logdev: %s)", in xlog_recover()
4680 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover()
4714 xfs_alert(log->l_mp, "Failed to recover EFIs"); in xlog_recover_finish()
4723 xfs_log_force(log->l_mp, XFS_LOG_SYNC); in xlog_recover_finish()
4729 xfs_notice(log->l_mp, "Ending recovery (logdev: %s)", in xlog_recover_finish()
4730 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover_finish()
4734 xfs_info(log->l_mp, "Ending clean mount"); in xlog_recover_finish()
4770 mp = log->l_mp; in xlog_recover_check_summary()