Home
last modified time | relevance | path

Searched refs:sb_logsunit (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_log_rlimit.c97 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) in xfs_log_calc_minimum_size()
98 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
Dxfs_log_format.h37 #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)
Dxfs_sb.c317 sbp->sb_logsunit > XLOG_MAX_RECORD_BSIZE || in xfs_validate_sb_common()
503 to->sb_logsunit = be32_to_cpu(from->sb_logsunit); in __xfs_sb_from_disk()
644 to->sb_logsunit = cpu_to_be32(from->sb_logsunit); in xfs_sb_to_disk()
1164 geo->logsunit = sbp->sb_logsunit; in xfs_fs_geometry()
Dxfs_format.h149 uint32_t sb_logsunit; /* stripe unit size for the log */ member
240 __be32 sb_logsunit; /* stripe unit size for the log */ member
/linux-4.19.296/fs/xfs/
Dxfs_log.c651 } else if (mp->m_sb.sb_logsunit > 1 && in xfs_log_mount()
652 mp->m_sb.sb_logsunit % mp->m_sb.sb_blocksize) { in xfs_log_mount()
655 mp->m_sb.sb_logsunit); in xfs_log_mount()
1855 if (v2 && log->l_mp->m_sb.sb_logsunit > 1) { in xlog_sync()
1863 ASSERT((v2 && log->l_mp->m_sb.sb_logsunit > 1 && in xlog_sync()
1864 roundoff < log->l_mp->m_sb.sb_logsunit) in xlog_sync()
1866 (log->l_mp->m_sb.sb_logsunit <= 1 && in xlog_sync()
3262 log->l_mp->m_sb.sb_logsunit > 1) { in xlog_state_switch_iclogs()
3263 uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs()
3659 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) { in xfs_log_calc_unit_res()
[all …]
Dxfs_super.c1443 mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) { in xfs_finish_flags()
1444 mp->m_logbsize = mp->m_sb.sb_logsunit; in xfs_finish_flags()
1446 mp->m_logbsize < mp->m_sb.sb_logsunit) { in xfs_finish_flags()
/linux-4.19.296/fs/xfs/scrub/
Dagheader.c249 if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) in xchk_superblock()