Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Ddm-zoned-metadata.c1178 static int dmz_recover_mblocks(struct dmz_metadata *zmd, unsigned int dst_set) in dmz_recover_mblocks() argument
1180 unsigned int src_set = dst_set ^ 0x1; in dmz_recover_mblocks()
1184 dmz_dev_warn(zmd->sb[dst_set].dev, in dmz_recover_mblocks()
1185 "Metadata set %u invalid: recovering", dst_set); in dmz_recover_mblocks()
1187 if (dst_set == 0) in dmz_recover_mblocks()
1202 ret = dmz_rdwr_block(zmd->sb[dst_set].dev, REQ_OP_WRITE, in dmz_recover_mblocks()
1203 zmd->sb[dst_set].block + i, page); in dmz_recover_mblocks()
1209 if (!zmd->sb[dst_set].mblk) { in dmz_recover_mblocks()
1210 zmd->sb[dst_set].mblk = dmz_alloc_mblock(zmd, 0); in dmz_recover_mblocks()
1211 if (!zmd->sb[dst_set].mblk) { in dmz_recover_mblocks()
[all …]