Searched refs:bcachefs_metadata_version_current (Results 1 – 9 of 9) sorted by relevance
325 bch2_version_to_text(out, bcachefs_metadata_version_current); in bch2_sb_compatible()336 bch2_version_to_text(out, bcachefs_metadata_version_current); in bch2_sb_compatible()1010 if (le16_to_cpu(c->disk_sb.sb->version) > bcachefs_metadata_version_current) { in bch2_write_super()1015 bch2_version_to_text(&buf, bcachefs_metadata_version_current); in bch2_write_super()1139 bool ret = bcachefs_metadata_version_current < c->sb.version; in bch2_check_version_downgrade()1150 if (BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb) > bcachefs_metadata_version_current) in bch2_check_version_downgrade()1151 SET_BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb, bcachefs_metadata_version_current); in bch2_check_version_downgrade()1152 if (c->sb.version > bcachefs_metadata_version_current) in bch2_check_version_downgrade()1153 c->disk_sb.sb->version = cpu_to_le16(bcachefs_metadata_version_current); in bch2_check_version_downgrade()1154 if (c->sb.version_min > bcachefs_metadata_version_current) in bch2_check_version_downgrade()[all …]
15 return BCH_VERSION_MAJOR(version) <= BCH_VERSION_MAJOR(bcachefs_metadata_version_current) && in bch2_version_compatible()
130 if (version < bcachefs_metadata_version_current || in bch2_bkey_compat()
561 unsigned latest_version = bcachefs_metadata_version_current; in check_version_upgrade()692 BCH_VERSION_MINOR(bcachefs_metadata_version_current), in bch2_fs_recovery()1024 bch2_sb_upgrade(c, bcachefs_metadata_version_current); in bch2_fs_initialize()1025 SET_BCH_SB_VERSION_UPGRADE_COMPLETE(c->disk_sb.sb, bcachefs_metadata_version_current); in bch2_fs_initialize()
695 #define bcachefs_metadata_version_current (bcachefs_metadata_version_max - 1) macro
767 bcachefs_metadata_version_current, in bch2_trans_commit_write_locked()
2144 static unsigned bch2_metadata_version = bcachefs_metadata_version_current;
1908 if (le32_to_cpu(jset->version) < bcachefs_metadata_version_current) in bch2_journal_write_prep()
2130 if (le16_to_cpu(i->version) < bcachefs_metadata_version_current) in __bch2_btree_node_write()