Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-zoned-metadata.c1182 static int dmz_recover_mblocks(struct dmz_metadata *zmd, unsigned int dst_set) in dmz_recover_mblocks() argument
1184 unsigned int src_set = dst_set ^ 0x1; in dmz_recover_mblocks()
1188 dmz_dev_warn(zmd->sb[dst_set].dev, in dmz_recover_mblocks()
1189 "Metadata set %u invalid: recovering", dst_set); in dmz_recover_mblocks()
1191 if (dst_set == 0) in dmz_recover_mblocks()
1206 ret = dmz_rdwr_block(zmd->sb[dst_set].dev, REQ_OP_WRITE, in dmz_recover_mblocks()
1207 zmd->sb[dst_set].block + i, page); in dmz_recover_mblocks()
1213 if (!zmd->sb[dst_set].mblk) { in dmz_recover_mblocks()
1214 zmd->sb[dst_set].mblk = dmz_alloc_mblock(zmd, 0); in dmz_recover_mblocks()
1215 if (!zmd->sb[dst_set].mblk) { in dmz_recover_mblocks()
[all …]