| /Linux-v4.19/drivers/md/ |
| D | dm-stripe.c | 29 uint32_t stripes; member 58 static inline struct stripe_c *alloc_context(unsigned int stripes) in alloc_context() argument 63 stripes)) in alloc_context() 66 len = sizeof(struct stripe_c) + (sizeof(struct stripe) * stripes); in alloc_context() 102 uint32_t stripes; in stripe_ctr() local 112 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr() 123 if (sector_div(width, stripes)) { in stripe_ctr() 139 if (argc != (2 + 2 * stripes)) { in stripe_ctr() 145 sc = alloc_context(stripes); in stripe_ctr() 156 sc->stripes = stripes; in stripe_ctr() [all …]
|
| D | dm-unstripe.c | 15 uint32_t stripes; member 56 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { in unstripe_ctr() 71 if (uc->unstripe > uc->stripes && uc->stripes > 1) { in unstripe_ctr() 88 uc->unstripe_width = (uc->stripes - 1) * uc->chunk_size; in unstripe_ctr() 156 uc->stripes, (unsigned long long)uc->chunk_size, uc->unstripe, in unstripe_status()
|
| D | raid5.c | 5762 struct list_head stripes; in reshape_request() local 5898 INIT_LIST_HEAD(&stripes); in reshape_request() 5928 list_add(&sh->lru, &stripes); in reshape_request() 5960 while (!list_empty(&stripes)) { in reshape_request() 5961 sh = list_entry(stripes.next, struct stripe_head, lru); in reshape_request() 7050 int stripes = max_t(int, in setup_conf() local 7053 conf->min_nr_stripes = max(NR_STRIPES, stripes); in setup_conf()
|
| /Linux-v4.19/fs/btrfs/ |
| D | volumes.c | 1281 if (map->stripes[i].dev != device) in contains_pending_extent() 1283 if (map->stripes[i].physical >= physical_start + len || in contains_pending_extent() 1284 map->stripes[i].physical + em->orig_block_len <= in contains_pending_extent() 1299 end = map->stripes[i].physical + em->orig_block_len; in contains_pending_extent() 2769 struct btrfs_device *device = map->stripes[i].dev; in btrfs_remove_chunk() 2771 map->stripes[i].physical, in btrfs_remove_chunk() 2788 if (map->stripes[i].dev) { in btrfs_remove_chunk() 2789 ret = btrfs_update_device(trans, map->stripes[i].dev); in btrfs_remove_chunk() 4793 map->stripes[s].dev = devices_info[i].dev; in __btrfs_alloc_chunk() 4794 map->stripes[s].physical = devices_info[i].dev_offset + in __btrfs_alloc_chunk() [all …]
|
| D | volumes.h | 316 struct btrfs_bio_stripe stripes[]; member 349 struct btrfs_bio_stripe stripes[]; member
|
| D | scrub.c | 1348 page->physical = bbio->stripes[stripe_index].physical + in scrub_setup_recheck_block() 1350 page->dev = bbio->stripes[stripe_index].dev; in scrub_setup_recheck_block() 2653 last_offset = (physical - map->stripes[num].physical) * in get_raid56_logic_offset() 2959 extent_physical = bbio->stripes[0].physical; in scrub_raid56_parity() 2961 extent_dev = bbio->stripes[0].dev; in scrub_raid56_parity() 3060 physical = map->stripes[num].physical; in scrub_stripe() 3375 sctx->stat.last_physical = map->stripes[num].physical + in scrub_stripe() 3435 if (map->stripes[i].dev->bdev == scrub_dev->bdev && in scrub_chunk() 3436 map->stripes[i].physical == dev_offset) { in scrub_chunk() 4014 !bbio->stripes[0].dev->bdev) { in scrub_remap_extent() [all …]
|
| D | dev-replace.c | 722 if (srcdev == map->stripes[i].dev) in btrfs_dev_replace_update_device_in_mapping_tree() 723 map->stripes[i].dev = tgtdev; in btrfs_dev_replace_update_device_in_mapping_tree()
|
| D | reada.c | 274 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone() 354 dev = bbio->stripes[nzones].dev; in reada_find_extent()
|
| D | raid56.c | 1080 stripe = &rbio->bbio->stripes[stripe_nr]; in rbio_add_io_page() 1355 stripe = &rbio->bbio->stripes[i]; in find_bio_stripe() 2272 if (bbio->stripes[i].dev == scrub_dev) { in raid56_parity_alloc_scrub_rbio()
|
| D | check-integrity.c | 1541 device = multi->stripes[0].dev; in btrfsic_map_block() 1548 block_ctx_out->dev_bytenr = multi->stripes[0].physical; in btrfsic_map_block()
|
| D | extent_io.c | 2013 sector = bbio->stripes[bbio->mirror_num - 1].physical >> 9; in repair_io_failure() 2015 dev = bbio->stripes[bbio->mirror_num - 1].dev; in repair_io_failure()
|
| D | extent-tree.c | 1981 struct btrfs_bio_stripe *stripe = bbio->stripes; in btrfs_discard_extent()
|
| /Linux-v4.19/Documentation/device-mapper/ |
| D | unstriped.txt | 10 <number of stripes> <chunk size> <stripe #> <dev_path> <offset> 12 <number of stripes> 13 The number of stripes in the RAID 0.
|
| D | dm-raid.txt | 150 changing the layout of stripes, hence an interruption/crash 156 the existing first stripes (those with smaller number of stripes) 158 number of stripes, calculate the redundancy blocks (CRC/Q-syndrome) 160 N-1 other new stripes. This out-of-place scheme is used to change
|
| /Linux-v4.19/drivers/block/drbd/ |
| D | drbd_actlog.c | 312 const unsigned int stripes = device->ldev->md.al_stripes; in al_tr_number_to_on_disk_sector() local 319 t = ((t % stripes) * stripe_size_4kB) + t/stripes; in al_tr_number_to_on_disk_sector()
|
| /Linux-v4.19/Documentation/md/ |
| D | raid5-cache.txt | 24 shutdown can cause data in some stripes to not be in consistent state, eg, data
|
| /Linux-v4.19/Documentation/filesystems/ |
| D | ntfs.txt | 328 # volume volume stripes device device 388 stripes with parity, i.e. raid level 5, should not work, too.
|
| /Linux-v4.19/drivers/block/ |
| D | Kconfig | 466 Say Y here if you want include the Rados block device, which stripes
|
| /Linux-v4.19/Documentation/admin-guide/ |
| D | md.rst | 752 requires preread stripes to wait until all full-width stripe-
|