Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-clone-target.c73 struct dm_dev *metadata_dev; member
1447 format_dev_t(buf, clone->metadata_dev->bdev->bd_dev); in clone_status()
1651 &clone->metadata_dev); in parse_metadata_dev()
1657 metadata_dev_size = get_dev_size(clone->metadata_dev); in parse_metadata_dev()
1660 bdevname(clone->metadata_dev->bdev, b), DM_CLONE_METADATA_MAX_SECTORS); in parse_metadata_dev()
1803 clone->cmd = dm_clone_metadata_open(clone->metadata_dev->bdev, ti->len, in clone_ctr()
1897 dm_put_device(ti, clone->metadata_dev); in clone_ctr()
1922 dm_put_device(ti, clone->metadata_dev); in clone_dtr()
Ddm-cache-target.c388 struct dm_dev *metadata_dev; member
2010 if (cache->metadata_dev) in destroy()
2011 dm_put_device(cache->ti, cache->metadata_dev); in destroy()
2077 struct dm_dev *metadata_dev; member
2096 if (ca->metadata_dev) in destroy_cache_args()
2097 dm_put_device(ca->ti, ca->metadata_dev); in destroy_cache_args()
2129 &ca->metadata_dev); in parse_metadata_dev()
2135 metadata_dev_size = get_dev_size(ca->metadata_dev); in parse_metadata_dev()
2138 bdevname(ca->metadata_dev->bdev, b), THIN_METADATA_MAX_SECTORS); in parse_metadata_dev()
2498 cache->metadata_dev = ca->metadata_dev; in cache_create()
[all …]
Ddm-thin.c325 struct dm_dev *metadata_dev; member
2938 struct block_device *metadata_dev, in pool_create() argument
2948 pmd = dm_pool_metadata_open(metadata_dev, block_size, format_device); in pool_create()
3045 pool->md_dev = metadata_dev; in pool_create()
3086 struct block_device *metadata_dev, in __pool_find() argument
3090 struct pool *pool = __pool_table_lookup_metadata_dev(metadata_dev); in __pool_find()
3102 if (pool->md_dev != metadata_dev) { in __pool_find()
3109 pool = pool_create(pool_md, metadata_dev, block_size, read_only, error); in __pool_find()
3128 dm_put_device(ti, pt->metadata_dev); in pool_dtr()
3242 dm_block_t quarter = get_metadata_dev_size_in_blocks(pt->metadata_dev->bdev) / 4; in calc_metadata_threshold()
[all …]
Ddm-era-target.c1142 struct dm_dev *metadata_dev; member
1401 if (era->metadata_dev) in era_destroy()
1402 dm_put_device(era->ti, era->metadata_dev); in era_destroy()
1443 r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &era->metadata_dev); in era_ctr()
1481 md = metadata_open(era->metadata_dev->bdev, era->sectors_per_block, true); in era_ctr()
1626 format_dev_t(buf, era->metadata_dev->bdev->bd_dev); in era_status()
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Dthin-provisioning.rst75 dd if=/dev/zero of=$metadata_dev bs=4096 count=1
105 --table "0 20971520 thin-pool $metadata_dev $data_dev \
Ddm-clone.rst235 dmsetup create clone --table "0 1048576000 clone $metadata_dev $dest_dev \