Home
last modified time | relevance | path

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

/drivers/md/
Dmd-bitmap.c148 sector_t sector = mddev->bitmap_info.offset + offset + in read_sb_page()
232 loff_t sboff, offset = mddev->bitmap_info.offset; in __write_sb_page()
481 if (bitmap->mddev->bitmap_info.external) in md_bitmap_update_sb()
497 sb->daemon_sleep = cpu_to_le32(bitmap->mddev->bitmap_info.daemon_sleep/HZ); in md_bitmap_update_sb()
498 sb->write_behind = cpu_to_le32(bitmap->mddev->bitmap_info.max_write_behind); in md_bitmap_update_sb()
501 sb->chunksize = cpu_to_le32(bitmap->mddev->bitmap_info.chunksize); in md_bitmap_update_sb()
502 sb->nodes = cpu_to_le32(bitmap->mddev->bitmap_info.nodes); in md_bitmap_update_sb()
504 bitmap_info.space); in md_bitmap_update_sb()
570 chunksize = bitmap->mddev->bitmap_info.chunksize; in md_bitmap_new_disk_sb()
579 daemon_sleep = bitmap->mddev->bitmap_info.daemon_sleep; in md_bitmap_new_disk_sb()
[all …]
Dmd.c199 return (rdev && rdev->mddev->bitmap_info.max_write_behind > 0 && in rdev_need_serial()
664 mutex_init(&mddev->bitmap_info.mutex); in mddev_init()
1153 if (!mddev->bitmap_info.file && !mddev->bitmap_info.offset) in md_check_no_bitmap()
1299 mddev->bitmap_info.offset = 0; in super_90_validate()
1300 mddev->bitmap_info.space = 0; in super_90_validate()
1302 mddev->bitmap_info.default_offset = MD_SB_BYTES >> 9; in super_90_validate()
1303 mddev->bitmap_info.default_space = 64*2 - (MD_SB_BYTES >> 9); in super_90_validate()
1342 mddev->bitmap_info.file == NULL) { in super_90_validate()
1343 mddev->bitmap_info.offset = in super_90_validate()
1344 mddev->bitmap_info.default_offset; in super_90_validate()
[all …]
Dmd-cluster.c381 mddev->bitmap_info.cluster_name, in recover_slot()
882 ret = dlm_new_lockspace(str, mddev->bitmap_info.cluster_name, in join()
1144 for (i = 0; i < mddev->bitmap_info.nodes; i++) { in resize_bitmaps()
1196 int node_num = mddev->bitmap_info.nodes; in cluster_check_sync_size()
1492 kcalloc(mddev->bitmap_info.nodes - 1, in lock_all_bitmaps()
1500 for (slot = 0; slot < mddev->bitmap_info.nodes; slot++) { in lock_all_bitmaps()
1527 for (i = 0; i < mddev->bitmap_info.nodes - 1; i++) { in unlock_all_bitmaps()
1551 for (sn = 0; sn < mddev->bitmap_info.nodes; sn++) { in gather_bitmaps()
Ddm-raid.c988 rs->md.bitmap_info.chunksize = to_bytes(region_size); in validate_region_size()
1361 rs->md.bitmap_info.max_write_behind = value / 2; in parse_raid_params()
1371 rs->md.bitmap_info.daemon_sleep = value; in parse_raid_params()
2458 …mddev->bitmap_info.offset = (rt_is_raid0(rs->raid_type) || rs->journal_dev.dev) ? 0 : to_sector(40… in super_validate()
2459 mddev->bitmap_info.default_offset = mddev->bitmap_info.offset; in super_validate()
3624 mddev->bitmap_info.daemon_sleep); in raid_status()
3638 mddev->bitmap_info.max_write_behind); in raid_status()
3644 (unsigned long long) to_sector(mddev->bitmap_info.chunksize)); in raid_status()
4001 mddev->bitmap_info.chunksize != to_bytes(rs->requested_bitmap_chunk_sectors)))) { in raid_preresume()
4002 int chunksize = to_bytes(rs->requested_bitmap_chunk_sectors) ?: mddev->bitmap_info.chunksize; in raid_preresume()
Dmd.h505 } bitmap_info; member
838 return mddev->cluster_info && mddev->bitmap_info.nodes > 1; in mddev_is_clustered()
Draid5-ppl.c1341 if (mddev->bitmap_info.file || mddev->bitmap_info.offset) { in ppl_init_log()
Draid1.c1528 < mddev->bitmap_info.max_write_behind) && in raid1_write_request()
Draid5.c7816 (mddev->bitmap_info.offset || mddev->bitmap_info.file)) { in raid5_run()
/drivers/md/persistent-data/
Ddm-space-map-common.c200 ll->bitmap_info.tm = tm; in sm_ll_init()
201 ll->bitmap_info.levels = 1; in sm_ll_init()
208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
209 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
210 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
211 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
1099 return dm_btree_insert(&ll->bitmap_info, ll->bitmap_root, in ie_cache_writeback()
1128 r = dm_btree_lookup(&ll->bitmap_info, ll->bitmap_root, &index, ie); in disk_ll_load_ie()
1178 return dm_btree_empty(&ll->bitmap_info, &ll->bitmap_root); in disk_ll_init_index()
Ddm-space-map-common.h74 struct dm_btree_info bitmap_info; member