Lines Matching refs:l_mp

111 		xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer",  in xlog_get_bp()
113 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_get_bp()
137 bp = xfs_buf_get_uncached(log->l_mp->m_logdev_targp, nbblks, 0); in xlog_get_bp()
181 xfs_warn(log->l_mp, in xlog_bread_noalign()
184 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_bread_noalign()
200 if (error && !XFS_FORCED_SHUTDOWN(log->l_mp)) in xlog_bread_noalign()
267 xfs_warn(log->l_mp, in xlog_bwrite()
270 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); in xlog_bwrite()
549 xfs_warn(log->l_mp, in xlog_find_verify_log_record()
585 if ((error = xlog_header_check_mount(log->l_mp, head))) in xlog_find_verify_log_record()
595 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_find_verify_log_record()
643 xfs_warn(log->l_mp, "empty log check failed"); in xlog_find_head()
655 xfs_warn(log->l_mp, "totally zeroed log"); in xlog_find_head()
880 xfs_warn(log->l_mp, "failed to find log head"); in xlog_find_head()
1128 xfs_warn(log->l_mp, in xlog_verify_tail()
1196 xfs_warn(log->l_mp, in xlog_verify_head()
1290 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_check_unmount_rec()
1430 xfs_warn(log->l_mp, "%s: couldn't find sync record", __func__); in xlog_find_tail()
1487 log->l_mp->m_flags |= XFS_MOUNT_WAS_CLEAN; in xlog_find_tail()
1508 if (!xfs_readonly_buftarg(log->l_mp->m_logdev_targp)) in xlog_find_tail()
1515 xfs_warn(log->l_mp, "failed to locate log tail"); in xlog_find_tail()
1643 xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? 2 : 1); in xlog_add_record()
1647 memcpy(&recp->h_fs_uuid, &log->l_mp->m_sb.sb_uuid, sizeof(uuid_t)); in xlog_add_record()
1782 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_clear_stale_blocks()
1794 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_clear_stale_blocks()
1973 xfs_warn(log->l_mp, in xlog_recover_reorder_trans()
2802 xfs_mount_t *mp = log->l_mp; in xlog_recover_buffer_pass2()
2892 (BBTOB(bp->b_io_length) != max(log->l_mp->m_sb.sb_blocksize, in xlog_recover_buffer_pass2()
2893 (uint32_t)log->l_mp->m_inode_cluster_size))) { in xlog_recover_buffer_pass2()
2995 xfs_mount_t *mp = log->l_mp; in xlog_recover_inode_pass2()
3243 xfs_warn(log->l_mp, "%s: Invalid flag", __func__); in xlog_recover_inode_pass2()
3257 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_pass2()
3308 xfs_mount_t *mp = log->l_mp; in xlog_recover_dquot_pass2()
3325 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); in xlog_recover_dquot_pass2()
3329 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", in xlog_recover_dquot_pass2()
3421 struct xfs_mount *mp = log->l_mp; in xlog_recover_efi_pass2()
3517 struct xfs_mount *mp = log->l_mp; in xlog_recover_rui_pass2()
3633 struct xfs_mount *mp = log->l_mp; in xlog_recover_cui_pass2()
3750 struct xfs_mount *mp = log->l_mp; in xlog_recover_bui_pass2()
3846 struct xfs_mount *mp = log->l_mp; in xlog_recover_do_icreate_pass2()
3861 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); in xlog_recover_do_icreate_pass2()
3866 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); in xlog_recover_do_icreate_pass2()
3872 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); in xlog_recover_do_icreate_pass2()
3877 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); in xlog_recover_do_icreate_pass2()
3882 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); in xlog_recover_do_icreate_pass2()
3887 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); in xlog_recover_do_icreate_pass2()
3892 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); in xlog_recover_do_icreate_pass2()
3902 xfs_warn(log->l_mp, in xlog_recover_do_icreate_pass2()
3909 xfs_warn(log->l_mp, in xlog_recover_do_icreate_pass2()
3963 struct xfs_mount *mp = log->l_mp; in xlog_recover_buffer_ra_pass2()
3981 struct xfs_mount *mp = log->l_mp; in xlog_recover_inode_ra_pass2()
4006 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_ra_pass2()
4095 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass1()
4143 xfs_warn(log->l_mp, "%s: invalid item type (%d)", in xlog_recover_commit_pass2()
4266 xfs_warn(log->l_mp, "%s: bad header length", __func__); in xlog_recover_add_to_cont_trans()
4320 xfs_warn(log->l_mp, "%s: bad header magic number", in xlog_recover_add_to_trans()
4327 xfs_warn(log->l_mp, "%s: bad header length", __func__); in xlog_recover_add_to_trans()
4360 xfs_warn(log->l_mp, in xlog_recover_add_to_trans()
4453 xfs_warn(log->l_mp, "%s: Unmount LR", __func__); in xlog_recovery_process_trans()
4458 xfs_warn(log->l_mp, "%s: bad flag 0x%x", __func__, flags); in xlog_recovery_process_trans()
4537 xfs_warn(log->l_mp, "%s: bad clientid 0x%x", in xlog_recover_process_ophdr()
4548 xfs_warn(log->l_mp, "%s: bad length 0x%x", __func__, len); in xlog_recover_process_ophdr()
4621 if (xlog_header_check_recover(log->l_mp, rhead)) in xlog_recover_process_data()
4889 error = xfs_trans_alloc_empty(log->l_mp, &parent_tp); in xlog_recover_process_intents()
4927 error = xlog_recover_process_efi(log->l_mp, ailp, lip); in xlog_recover_process_intents()
4930 error = xlog_recover_process_rui(log->l_mp, ailp, lip); in xlog_recover_process_intents()
4984 xlog_recover_cancel_efi(log->l_mp, ailp, lip); in xlog_recover_cancel_intents()
4987 xlog_recover_cancel_rui(log->l_mp, ailp, lip); in xlog_recover_cancel_intents()
4990 xlog_recover_cancel_cui(log->l_mp, ailp, lip); in xlog_recover_cancel_intents()
4993 xlog_recover_cancel_bui(log->l_mp, ailp, lip); in xlog_recover_cancel_intents()
5129 mp = log->l_mp; in xlog_recover_process_iunlinks()
5182 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_unpack_data()
5234 if (old_crc || xfs_sb_version_hascrc(&log->l_mp->m_sb)) { in xlog_recover_process()
5235 xfs_alert(log->l_mp, in xlog_recover_process()
5246 if (xfs_sb_version_hascrc(&log->l_mp->m_sb)) in xlog_recover_process()
5268 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
5274 xfs_warn(log->l_mp, "%s: unrecognised log version (%d).", in xlog_valid_rec_header()
5283 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
5288 XFS_ERRLEVEL_LOW, log->l_mp); in xlog_valid_rec_header()
5333 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_do_recovery_pass()
5366 if (h_len <= log->l_mp->m_logbsize && in xlog_do_recovery_pass()
5368 xfs_warn(log->l_mp, in xlog_do_recovery_pass()
5370 h_size, log->l_mp->m_logbsize); in xlog_do_recovery_pass()
5371 h_size = log->l_mp->m_logbsize; in xlog_do_recovery_pass()
5658 struct xfs_mount *mp = log->l_mp; in xlog_do_recover()
5753 if (xfs_sb_version_hascrc(&log->l_mp->m_sb) && in xlog_recover()
5754 !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) in xlog_recover()
5769 if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { in xlog_recover()
5780 if (XFS_SB_VERSION_NUM(&log->l_mp->m_sb) == XFS_SB_VERSION_5 && in xlog_recover()
5781 xfs_sb_has_incompat_log_feature(&log->l_mp->m_sb, in xlog_recover()
5783 xfs_warn(log->l_mp, in xlog_recover()
5785 (log->l_mp->m_sb.sb_features_log_incompat & in xlog_recover()
5787 xfs_warn(log->l_mp, in xlog_recover()
5789 xfs_warn(log->l_mp, in xlog_recover()
5800 xfs_notice(log->l_mp, in xlog_recover()
5806 xfs_notice(log->l_mp, "Starting recovery (logdev: %s)", in xlog_recover()
5807 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover()
5841 xfs_alert(log->l_mp, "Failed to recover intents"); in xlog_recover_finish()
5851 xfs_log_force(log->l_mp, XFS_LOG_SYNC); in xlog_recover_finish()
5857 xfs_notice(log->l_mp, "Ending recovery (logdev: %s)", in xlog_recover_finish()
5858 log->l_mp->m_logname ? log->l_mp->m_logname in xlog_recover_finish()
5862 xfs_info(log->l_mp, "Ending clean mount"); in xlog_recover_finish()
5898 mp = log->l_mp; in xlog_recover_check_summary()