/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_icreate_item.c | 147 struct xfs_mount *mp = log->l_mp; in xlog_recover_icreate_commit_pass2() 162 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); in xlog_recover_icreate_commit_pass2() 167 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); in xlog_recover_icreate_commit_pass2() 173 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); in xlog_recover_icreate_commit_pass2() 178 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); in xlog_recover_icreate_commit_pass2() 183 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); in xlog_recover_icreate_commit_pass2() 188 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); in xlog_recover_icreate_commit_pass2() 193 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); in xlog_recover_icreate_commit_pass2() 203 xfs_warn(log->l_mp, in xlog_recover_icreate_commit_pass2() 210 xfs_warn(log->l_mp, in xlog_recover_icreate_commit_pass2() [all...] |
H A D | xfs_log_recover.c | 87 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer() 88 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_alloc_buffer() 135 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io() 136 xfs_warn(log->l_mp, in xlog_do_io() 148 if (error && !XFS_FORCED_SHUTDOWN(log->l_mp)) { in xlog_do_io() 149 xfs_alert(log->l_mp, in xlog_do_io() 377 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_logrec_hblks() 433 xfs_warn(log->l_mp, in xlog_find_verify_log_record() 469 if ((error = xlog_header_check_mount(log->l_mp, head))) in xlog_find_verify_log_record() 519 xfs_warn(log->l_mp, "empt in xlog_find_head() [all...] |
H A D | xfs_log.c | 254 XFS_STATS_INC(log->l_mp, xs_sleep_logspace); 494 xfs_lsn_t tail_lsn = xlog_assign_tail_lsn(log->l_mp); in __xlog_state_release_iclog() 800 XFS_STATS_INC(log->l_mp, xs_log_force_sleep); 849 struct xfs_mount *mp = log->l_mp; in xlog_unmount_write() 1176 xfs_alert(log->l_mp, "xlog_space_left: head behind tail"); in xlog_space_left() 1177 xfs_alert(log->l_mp, in xlog_space_left() 1180 xfs_alert(log->l_mp, in xlog_space_left() 1209 if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { in xlog_ioend_work() 1210 xfs_alert(log->l_mp, "log I/O error %d", error); in xlog_ioend_work() 1211 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERRO in xlog_ioend_work() [all...] |
H A D | xfs_dquot_item_recover.c | 28 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_ra_pass2() 66 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_commit_pass2() 82 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); in xlog_recover_dquot_commit_pass2() 86 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", in xlog_recover_dquot_commit_pass2()
|
H A D | xfs_log_cil.c | 450 xfs_warn(log->l_mp, "Transaction log reservation overrun:"); in xlog_cil_insert_items() 451 xfs_warn(log->l_mp, in xlog_cil_insert_items() 454 xfs_warn(log->l_mp, " split region headers: %d bytes", in xlog_cil_insert_items() 456 xfs_warn(log->l_mp, " ctx ticket: %d bytes", ctx_res); in xlog_cil_insert_items() 483 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_cil_insert_items() 505 struct xfs_mount *mp = ctx->cil->xc_log->l_mp; in xlog_discard_endio_work() 578 struct xfs_mount *mp = ctx->cil->xc_log->l_mp; in xlog_cil_committed() 926 queue_work(log->l_mp->m_cil_workqueue, &cil->xc_push_work); 991 queue_work(log->l_mp->m_cil_workqueue, &cil->xc_push_work); in xlog_cil_push_now()
|
H A D | xfs_inode_item_recover.c | 203 struct xfs_mount *mp = log->l_mp; in xlog_recover_inode_commit_pass2() 457 xfs_warn(log->l_mp, "%s: Invalid flag", __func__); in xlog_recover_inode_commit_pass2() 471 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_commit_pass2()
|
H A D | xfs_bmap_item.c | 620 struct xfs_mount *mp = log->l_mp; in xlog_recover_bui_commit_pass2() 627 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_LOW, log->l_mp); in xlog_recover_bui_commit_pass2() 669 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_LOW, log->l_mp); in xlog_recover_bud_commit_pass2()
|
H A D | xfs_buf_item_recover.c | 179 xfs_err(log->l_mp, "bad buffer log item size (%d)", in xlog_recover_buf_commit_pass1() 872 struct xfs_mount *mp = log->l_mp; in xlog_recover_buf_commit_pass2() 972 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
|
H A D | xfs_refcount_item.c | 638 struct xfs_mount *mp = log->l_mp; in xlog_recover_cui_commit_pass2() 683 XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_LOW, log->l_mp); in xlog_recover_cud_commit_pass2()
|
H A D | xfs_log_priv.h | 386 struct xfs_mount *l_mp; /* mount point */ member
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer() 82 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_alloc_buffer() 129 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io() 130 xfs_warn(log->l_mp, in xlog_do_io() 143 xfs_alert(log->l_mp, in xlog_do_io() 371 if (xfs_has_logv2(log->l_mp)) { in xlog_logrec_hblks() 427 xfs_warn(log->l_mp, in xlog_find_verify_log_record() 463 if ((error = xlog_header_check_mount(log->l_mp, head))) in xlog_find_verify_log_record() 513 xfs_warn(log->l_mp, "empty log check failed"); in xlog_find_head() 525 xfs_warn(log->l_mp, "totall in xlog_find_head() [all...] |
H A D | xfs_icreate_item.c | 148 struct xfs_mount *mp = log->l_mp; in xlog_recover_icreate_commit_pass2() 163 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad type"); in xlog_recover_icreate_commit_pass2() 168 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad icl size"); in xlog_recover_icreate_commit_pass2() 174 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agno"); in xlog_recover_icreate_commit_pass2() 179 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad agbno"); in xlog_recover_icreate_commit_pass2() 184 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad isize"); in xlog_recover_icreate_commit_pass2() 189 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count"); in xlog_recover_icreate_commit_pass2() 194 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad length"); in xlog_recover_icreate_commit_pass2() 204 xfs_warn(log->l_mp, in xlog_recover_icreate_commit_pass2() 211 xfs_warn(log->l_mp, in xlog_recover_icreate_commit_pass2() [all...] |
H A D | xfs_dquot_item_recover.c | 29 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_ra_pass2() 67 struct xfs_mount *mp = log->l_mp; in xlog_recover_dquot_commit_pass2() 84 xfs_alert(log->l_mp, "NULL dquot in %s.", __func__); in xlog_recover_dquot_commit_pass2() 88 xfs_alert(log->l_mp, "dquot too small (%d) in %s.", in xlog_recover_dquot_commit_pass2() 157 fa = xfs_dqblk_verify(log->l_mp, dqb, dq_f->qlf_id); in xlog_recover_dquot_commit_pass2()
|
H A D | xfs_log.c | 304 XFS_STATS_INC(log->l_mp, xs_sleep_logspace); 589 tail_lsn = xlog_assign_tail_lsn(log->l_mp); in xlog_state_release_iclog() 891 XFS_STATS_INC(log->l_mp, xs_log_force_sleep); 955 struct xfs_mount *mp = log->l_mp; in xlog_unmount_write() 1364 xfs_alert(log->l_mp, "xlog_space_left: head behind tail"); in xlog_space_left() 1365 xfs_alert(log->l_mp, " tail_cycle = %d, tail_bytes = %d", in xlog_space_left() 1367 xfs_alert(log->l_mp, " GH cycle = %d, GH bytes = %d", in xlog_space_left() 1393 if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { in xlog_ioend_work() 1394 xfs_alert(log->l_mp, "log I/O error %d", error); in xlog_ioend_work() 1457 struct xfs_mount *mp = log->l_mp; in xlog_clear_incompat() [all...] |
H A D | xfs_trans_ail.c | 401 if (XFS_TEST_ERROR(false, ailp->ail_log->l_mp, XFS_ERRTAG_LOG_ITEM_PIN)) in xfsaild_push_item() 421 struct xfs_mount *mp = ailp->ail_log->l_mp; in xfsaild_push() 764 xlog_assign_tail_lsn_locked(log->l_mp); 769 xfs_log_space_wake(log->l_mp); 884 xfs_alert_tag(log->l_mp, XFS_PTAG_AILDELETE, in xfs_trans_ail_delete()
|
H A D | xfs_log_cil.c | 685 xfs_warn(log->l_mp, "Transaction log reservation overrun:"); in xlog_cil_insert_items() 686 xfs_warn(log->l_mp, in xlog_cil_insert_items() 689 xfs_warn(log->l_mp, " split region headers: %d bytes", in xlog_cil_insert_items() 691 xfs_warn(log->l_mp, " ctx ticket: %d bytes", ctx_res); in xlog_cil_insert_items() 719 struct xfs_mount *mp = ctx->cil->xc_log->l_mp; in xlog_cil_committed() 1626 trace_xfs_log_force(log->l_mp, seq, _RET_IP_); in xlog_cil_flush() 1634 xfs_log_force(log->l_mp, 0); in xlog_cil_flush() 1660 trace_xfs_log_force(log->l_mp, sequence, _RET_IP_); in xlog_cil_force_seq() 1692 XFS_STATS_INC(log->l_mp, xs_log_force_sleep); in xlog_cil_force_seq() 1759 4, log->l_mp in xlog_cil_init() [all...] |
H A D | xfs_inode_item_recover.c | 277 struct xfs_mount *mp = log->l_mp; in xlog_recover_inode_commit_pass2() 521 xfs_warn(log->l_mp, "%s: Invalid flag", __func__); in xlog_recover_inode_commit_pass2() 535 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_commit_pass2() 536 fa = xfs_dinode_verify(log->l_mp, in_f->ilf_ino, dip); in xlog_recover_inode_commit_pass2()
|
H A D | xfs_extfree_item.c | 665 struct xfs_mount *mp = lip->li_log->l_mp; in xfs_efi_item_recover() 803 struct xfs_mount *mp = log->l_mp; in xlog_recover_efi_commit_pass2() 857 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_efd_commit_pass2() 866 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_efd_commit_pass2()
|
H A D | xfs_refcount_item.c | 485 struct xfs_mount *mp = lip->li_log->l_mp; in xfs_cui_item_recover() 676 struct xfs_mount *mp = log->l_mp; in xlog_recover_cui_commit_pass2() 731 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_cud_commit_pass2()
|
H A D | xfs_buf_item_recover.c | 188 xfs_err(log->l_mp, "bad buffer log item size (%d)", in xlog_recover_buf_commit_pass1() 891 struct xfs_mount *mp = log->l_mp; in xlog_recover_buf_commit_pass2() 991 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
|
H A D | xfs_bmap_item.c | 497 struct xfs_mount *mp = lip->li_log->l_mp; in xfs_bui_item_recover() 655 struct xfs_mount *mp = log->l_mp; in xlog_recover_bui_commit_pass2() 716 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_bud_commit_pass2()
|
H A D | xfs_rmap_item.c | 515 struct xfs_mount *mp = lip->li_log->l_mp; in xfs_rui_item_recover() 682 struct xfs_mount *mp = log->l_mp; in xlog_recover_rui_commit_pass2() 737 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_rud_commit_pass2()
|
H A D | xfs_attr_item.c | 546 struct xfs_mount *mp = lip->li_log->l_mp; in xfs_attri_item_recover() 707 struct xfs_mount *mp = log->l_mp; in xlog_recover_attri_commit_pass2() 844 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, log->l_mp, in xlog_recover_attrd_commit_pass2()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_log_format.h | 37 #define XLOG_BTOLSUNIT(log, b) (((b)+(log)->l_mp->m_sb.sb_logsunit-1) / \ 38 (log)->l_mp->m_sb.sb_logsunit) 39 #define XLOG_LSUNITTOB(log, su) ((su) * (log)->l_mp->m_sb.sb_logsunit) 47 BTOBB(1 << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \ 50 BTOBB(XLOG_MAX_ICLOGS << (xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? \
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_log_format.h | 44 BTOBB(1 << (xfs_has_logv2(log->l_mp) ? \ 47 BTOBB(XLOG_MAX_ICLOGS << (xfs_has_logv2(log->l_mp) ? \
|