l_mp 37 fs/xfs/libxfs/xfs_log_format.h #define XLOG_BTOLSUNIT(log, b) (((b)+(log)->l_mp->m_sb.sb_logsunit-1) / \ l_mp 38 fs/xfs/libxfs/xfs_log_format.h (log)->l_mp->m_sb.sb_logsunit) l_mp 39 fs/xfs/libxfs/xfs_log_format.h #define XLOG_LSUNITTOB(log, su) ((su) * (log)->l_mp->m_sb.sb_logsunit) l_mp 47 fs/xfs/libxfs/xfs_log_format.h BTOBB(1 << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \ l_mp 50 fs/xfs/libxfs/xfs_log_format.h BTOBB(XLOG_MAX_ICLOGS << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \ l_mp 276 fs/xfs/xfs_log.c XFS_STATS_INC(log->l_mp, xs_sleep_logspace); l_mp 1214 fs/xfs/xfs_log.c xfs_alert(log->l_mp, "xlog_space_left: head behind tail"); l_mp 1215 fs/xfs/xfs_log.c xfs_alert(log->l_mp, l_mp 1218 fs/xfs/xfs_log.c xfs_alert(log->l_mp, l_mp 1248 fs/xfs/xfs_log.c if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { l_mp 1249 fs/xfs/xfs_log.c xfs_alert(log->l_mp, "log I/O error %d", error); l_mp 1250 fs/xfs/xfs_log.c xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); l_mp 1321 fs/xfs/xfs_log.c struct xfs_mount *mp = log->l_mp; l_mp 1373 fs/xfs/xfs_log.c log->l_mp = mp; l_mp 1456 fs/xfs/xfs_log.c xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? 2 : 1); l_mp 1519 fs/xfs/xfs_log.c struct xfs_mount *mp = log->l_mp; l_mp 1627 fs/xfs/xfs_log.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 1664 fs/xfs/xfs_log.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 1812 fs/xfs/xfs_log.c use_lsunit = xfs_sb_version_haslogv2(&log->l_mp->m_sb) && l_mp 1813 fs/xfs/xfs_log.c log->l_mp->m_sb.sb_logsunit > 1; l_mp 1830 fs/xfs/xfs_log.c ASSERT(*roundoff < log->l_mp->m_sb.sb_logsunit); l_mp 1883 fs/xfs/xfs_log.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) l_mp 1887 fs/xfs/xfs_log.c XFS_STATS_INC(log->l_mp, xs_log_writes); l_mp 1888 fs/xfs/xfs_log.c XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); l_mp 1909 fs/xfs/xfs_log.c if (XFS_TEST_ERROR(false, log->l_mp, XFS_ERRTAG_LOG_BAD_CRC)) { l_mp 1912 fs/xfs/xfs_log.c xfs_warn(log->l_mp, l_mp 1926 fs/xfs/xfs_log.c if (log->l_targ != log->l_mp->m_ddev_targp || split) { l_mp 1927 fs/xfs/xfs_log.c xfs_blkdev_issue_flush(log->l_mp->m_ddev_targp); l_mp 1966 fs/xfs/xfs_log.c log->l_mp->m_log = NULL; l_mp 2198 fs/xfs/xfs_log.c xfs_warn(log->l_mp, l_mp 2382 fs/xfs/xfs_log.c xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, l_mp 2384 fs/xfs/xfs_log.c xlog_print_tic_res(log->l_mp, ticket); l_mp 2385 fs/xfs/xfs_log.c xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); l_mp 2896 fs/xfs/xfs_log.c xfs_warn(log->l_mp, l_mp 2999 fs/xfs/xfs_log.c XFS_STATS_INC(log->l_mp, xs_log_noiclogs); l_mp 3162 fs/xfs/xfs_log.c xfs_log_space_wake(log->l_mp); l_mp 3197 fs/xfs/xfs_log.c xfs_lsn_t tail_lsn = xlog_assign_tail_lsn(log->l_mp); l_mp 3244 fs/xfs/xfs_log.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb) && l_mp 3245 fs/xfs/xfs_log.c log->l_mp->m_sb.sb_logsunit > 1) { l_mp 3246 fs/xfs/xfs_log.c uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); l_mp 3672 fs/xfs/xfs_log.c unit_res = xfs_log_calc_unit_res(log->l_mp, unit_bytes); l_mp 3720 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: invalid ptr", __func__); l_mp 3746 fs/xfs/xfs_log.c xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, l_mp 3753 fs/xfs/xfs_log.c xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, l_mp 3773 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); l_mp 3778 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: tail wrapped", __func__); l_mp 3782 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); l_mp 3823 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: corrupt iclog ring", __func__); l_mp 3828 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: invalid magic num", __func__); l_mp 3834 fs/xfs/xfs_log.c xfs_emerg(log->l_mp, "%s: unexpected magic num", l_mp 3864 fs/xfs/xfs_log.c xfs_warn(log->l_mp, l_mp 451 fs/xfs/xfs_log_cil.c xfs_warn(log->l_mp, "Transaction log reservation overrun:"); l_mp 452 fs/xfs/xfs_log_cil.c xfs_warn(log->l_mp, l_mp 455 fs/xfs/xfs_log_cil.c xfs_warn(log->l_mp, " split region headers: %d bytes", l_mp 457 fs/xfs/xfs_log_cil.c xfs_warn(log->l_mp, " ctx ticket: %d bytes", ctx_res); l_mp 484 fs/xfs/xfs_log_cil.c xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); l_mp 506 fs/xfs/xfs_log_cil.c struct xfs_mount *mp = ctx->cil->xc_log->l_mp; l_mp 580 fs/xfs/xfs_log_cil.c struct xfs_mount *mp = ctx->cil->xc_log->l_mp; l_mp 845 fs/xfs/xfs_log_cil.c commit_lsn = xfs_log_done(log->l_mp, tic, &commit_iclog, false); l_mp 870 fs/xfs/xfs_log_cil.c return xfs_log_release_iclog(log->l_mp, commit_iclog); l_mp 923 fs/xfs/xfs_log_cil.c queue_work(log->l_mp->m_cil_workqueue, &cil->xc_push_work); l_mp 961 fs/xfs/xfs_log_cil.c queue_work(log->l_mp->m_cil_workqueue, &cil->xc_push_work); l_mp 352 fs/xfs/xfs_log_priv.h struct xfs_mount *l_mp; /* mount point */ l_mp 107 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", l_mp 109 fs/xfs/xfs_log_recover.c XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); l_mp 156 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 159 fs/xfs/xfs_log_recover.c XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_HIGH, log->l_mp); l_mp 169 fs/xfs/xfs_log_recover.c if (error && !XFS_FORCED_SHUTDOWN(log->l_mp)) { l_mp 170 fs/xfs/xfs_log_recover.c xfs_alert(log->l_mp, l_mp 471 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 507 fs/xfs/xfs_log_recover.c if ((error = xlog_header_check_mount(log->l_mp, head))) l_mp 517 fs/xfs/xfs_log_recover.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 565 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "empty log check failed"); l_mp 577 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "totally zeroed log"); l_mp 802 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "failed to find log head"); l_mp 1050 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 1118 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 1212 fs/xfs/xfs_log_recover.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 1352 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: couldn't find sync record", __func__); l_mp 1409 fs/xfs/xfs_log_recover.c log->l_mp->m_flags |= XFS_MOUNT_WAS_CLEAN; l_mp 1437 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "failed to locate log tail"); l_mp 1566 fs/xfs/xfs_log_recover.c xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? 2 : 1); l_mp 1570 fs/xfs/xfs_log_recover.c memcpy(&recp->h_fs_uuid, &log->l_mp->m_sb.sb_uuid, sizeof(uuid_t)); l_mp 1704 fs/xfs/xfs_log_recover.c XFS_ERRLEVEL_LOW, log->l_mp); l_mp 1716 fs/xfs/xfs_log_recover.c XFS_ERRLEVEL_LOW, log->l_mp); l_mp 1895 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 2727 fs/xfs/xfs_log_recover.c xfs_mount_t *mp = log->l_mp; l_mp 2817 fs/xfs/xfs_log_recover.c (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { l_mp 2919 fs/xfs/xfs_log_recover.c xfs_mount_t *mp = log->l_mp; l_mp 3167 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: Invalid flag", __func__); l_mp 3181 fs/xfs/xfs_log_recover.c xfs_dinode_calc_crc(log->l_mp, dip); l_mp 3232 fs/xfs/xfs_log_recover.c xfs_mount_t *mp = log->l_mp; l_mp 3249 fs/xfs/xfs_log_recover.c xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); l_mp 3253 fs/xfs/xfs_log_recover.c xfs_alert(log->l_mp, "dquot too small (%d) in %s.", l_mp 3345 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3441 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3557 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3674 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3770 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3785 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); l_mp 3790 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); l_mp 3796 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); l_mp 3801 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); l_mp 3806 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); l_mp 3811 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); l_mp 3816 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); l_mp 3826 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 3833 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 3886 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3904 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 3929 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 4018 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: invalid item type (%d)", l_mp 4066 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: invalid item type (%d)", l_mp 4189 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad header length", __func__); l_mp 4243 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad header magic number", l_mp 4250 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad header length", __func__); l_mp 4283 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 4376 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: Unmount LR", __func__); l_mp 4381 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad flag 0x%x", __func__, flags); l_mp 4460 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad clientid 0x%x", l_mp 4471 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: bad length 0x%x", __func__, len); l_mp 4544 fs/xfs/xfs_log_recover.c if (xlog_header_check_recover(log->l_mp, rhead)) l_mp 4812 fs/xfs/xfs_log_recover.c error = xfs_trans_alloc_empty(log->l_mp, &parent_tp); l_mp 4850 fs/xfs/xfs_log_recover.c error = xlog_recover_process_efi(log->l_mp, ailp, lip); l_mp 4853 fs/xfs/xfs_log_recover.c error = xlog_recover_process_rui(log->l_mp, ailp, lip); l_mp 4906 fs/xfs/xfs_log_recover.c xlog_recover_cancel_efi(log->l_mp, ailp, lip); l_mp 4909 fs/xfs/xfs_log_recover.c xlog_recover_cancel_rui(log->l_mp, ailp, lip); l_mp 4912 fs/xfs/xfs_log_recover.c xlog_recover_cancel_cui(log->l_mp, ailp, lip); l_mp 4915 fs/xfs/xfs_log_recover.c xlog_recover_cancel_bui(log->l_mp, ailp, lip); l_mp 5061 fs/xfs/xfs_log_recover.c mp = log->l_mp; l_mp 5115 fs/xfs/xfs_log_recover.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 5163 fs/xfs/xfs_log_recover.c if (old_crc || xfs_sb_version_hascrc(&log->l_mp->m_sb)) { l_mp 5164 fs/xfs/xfs_log_recover.c xfs_alert(log->l_mp, l_mp 5175 fs/xfs/xfs_log_recover.c if (xfs_sb_version_hascrc(&log->l_mp->m_sb)) l_mp 5195 fs/xfs/xfs_log_recover.c XFS_ERRLEVEL_LOW, log->l_mp); l_mp 5201 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, "%s: unrecognised log version (%d).", l_mp 5210 fs/xfs/xfs_log_recover.c XFS_ERRLEVEL_LOW, log->l_mp); l_mp 5215 fs/xfs/xfs_log_recover.c XFS_ERRLEVEL_LOW, log->l_mp); l_mp 5260 fs/xfs/xfs_log_recover.c if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { l_mp 5293 fs/xfs/xfs_log_recover.c if (h_len <= log->l_mp->m_logbsize && l_mp 5295 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 5297 fs/xfs/xfs_log_recover.c h_size, log->l_mp->m_logbsize); l_mp 5298 fs/xfs/xfs_log_recover.c h_size = log->l_mp->m_logbsize; l_mp 5585 fs/xfs/xfs_log_recover.c struct xfs_mount *mp = log->l_mp; l_mp 5680 fs/xfs/xfs_log_recover.c if (xfs_sb_version_hascrc(&log->l_mp->m_sb) && l_mp 5681 fs/xfs/xfs_log_recover.c !xfs_log_check_lsn(log->l_mp, log->l_mp->m_sb.sb_lsn)) l_mp 5696 fs/xfs/xfs_log_recover.c if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) { l_mp 5707 fs/xfs/xfs_log_recover.c if (XFS_SB_VERSION_NUM(&log->l_mp->m_sb) == XFS_SB_VERSION_5 && l_mp 5708 fs/xfs/xfs_log_recover.c xfs_sb_has_incompat_log_feature(&log->l_mp->m_sb, l_mp 5710 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 5712 fs/xfs/xfs_log_recover.c (log->l_mp->m_sb.sb_features_log_incompat & l_mp 5714 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 5716 fs/xfs/xfs_log_recover.c xfs_warn(log->l_mp, l_mp 5727 fs/xfs/xfs_log_recover.c xfs_notice(log->l_mp, l_mp 5733 fs/xfs/xfs_log_recover.c xfs_notice(log->l_mp, "Starting recovery (logdev: %s)", l_mp 5734 fs/xfs/xfs_log_recover.c log->l_mp->m_logname ? log->l_mp->m_logname l_mp 5768 fs/xfs/xfs_log_recover.c xfs_alert(log->l_mp, "Failed to recover intents"); l_mp 5778 fs/xfs/xfs_log_recover.c xfs_log_force(log->l_mp, XFS_LOG_SYNC); l_mp 5784 fs/xfs/xfs_log_recover.c xfs_notice(log->l_mp, "Ending recovery (logdev: %s)", l_mp 5785 fs/xfs/xfs_log_recover.c log->l_mp->m_logname ? log->l_mp->m_logname l_mp 5789 fs/xfs/xfs_log_recover.c xfs_info(log->l_mp, "Ending clean mount"); l_mp 5821 fs/xfs/xfs_log_recover.c mp = log->l_mp; l_mp 951 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 1113 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 1958 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 1978 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 2005 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 2050 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 2097 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev; l_mp 2141 fs/xfs/xfs_trace.h __entry->dev = log->l_mp->m_super->s_dev;