Home
last modified time | relevance | path

Searched refs:stripe (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.1/drivers/md/
Ddm-stripe.c21 struct stripe { struct
44 struct stripe stripe[]; argument
62 unsigned int stripe, char **argv) in get_stripe() argument
72 &sc->stripe[stripe].dev); in get_stripe()
76 sc->stripe[stripe].physical_start = start; in get_stripe()
132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr()
178 dm_put_device(ti, sc->stripe[i].dev); in stripe_ctr()
182 atomic_set(&(sc->stripe[i].error_count), 0); in stripe_ctr()
196 dm_put_device(ti, sc->stripe[i].dev); in stripe_dtr()
203 uint32_t *stripe, sector_t *result) in stripe_map_sector() argument
[all …]
DMakefile6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
Draid5.c572 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
2997 sector_t stripe, stripe2; in raid5_compute_sector() local
3022 stripe = chunk_number; in raid5_compute_sector()
3023 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3024 stripe2 = stripe; in raid5_compute_sector()
3191 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3205 sector_t stripe; in raid5_compute_blocknr() local
3213 stripe = new_sector; in raid5_compute_blocknr()
3301 chunk_number = stripe * data_disks + i; in raid5_compute_blocknr()
3636 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx() argument
[all …]
/Linux-v6.1/fs/btrfs/
Draid56.c1025 struct btrfs_io_stripe *stripe; in rbio_add_io_sector() local
1037 stripe = &rbio->bioc->stripes[stripe_nr]; in rbio_add_io_sector()
1038 disk_start = stripe->physical + sector_nr * sectorsize; in rbio_add_io_sector()
1041 if (!stripe->dev->bdev) in rbio_add_io_sector()
1054 last->bi_bdev == stripe->dev->bdev) { in rbio_add_io_sector()
1063 bio = bio_alloc(stripe->dev->bdev, in rbio_add_io_sector()
1177 int stripe; in finish_rmw() local
1230 for (stripe = 0; stripe < nr_data; stripe++) { in finish_rmw()
1231 sector = sector_in_rbio(rbio, stripe, sectornr, 0); in finish_rmw()
1232 pointers[stripe] = kmap_local_page(sector->page) + in finish_rmw()
[all …]
Dextent_map.c371 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_set_bits() local
372 struct btrfs_device *device = stripe->dev; in extent_map_device_set_bits()
374 set_extent_bits_nowait(&device->alloc_state, stripe->physical, in extent_map_device_set_bits()
375 stripe->physical + stripe_size - 1, bits); in extent_map_device_set_bits()
386 struct btrfs_io_stripe *stripe = &map->stripes[i]; in extent_map_device_clear_bits() local
387 struct btrfs_device *device = stripe->dev; in extent_map_device_clear_bits()
389 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits()
390 stripe->physical + stripe_size - 1, bits, in extent_map_device_clear_bits()
Dvolumes.c3652 struct btrfs_stripe *stripe; in chunk_devid_filter() local
3657 stripe = btrfs_stripe_nr(chunk, i); in chunk_devid_filter()
3658 if (btrfs_stripe_devid(leaf, stripe) == bargs->devid) in chunk_devid_filter()
3679 struct btrfs_stripe *stripe; in chunk_drange_filter() local
3694 stripe = btrfs_stripe_nr(chunk, i); in chunk_drange_filter()
3695 if (btrfs_stripe_devid(leaf, stripe) != bargs->devid) in chunk_drange_filter()
3698 stripe_offset = btrfs_stripe_offset(leaf, stripe); in chunk_drange_filter()
5527 struct btrfs_stripe *stripe; in btrfs_chunk_alloc_add_chunk_item() local
5583 stripe = &chunk->stripe; in btrfs_chunk_alloc_add_chunk_item()
5588 btrfs_set_stack_stripe_devid(stripe, device->devid); in btrfs_chunk_alloc_add_chunk_item()
[all …]
/Linux-v6.1/drivers/staging/media/ipu3/
Dipu3-css-params.c1005 osys->stripe[s].crop_top[pin] = in imgu_css_osys_calc()
1007 osys->stripe[s].input_width = in imgu_css_osys_calc()
1009 osys->stripe[s].input_height = in imgu_css_osys_calc()
1011 osys->stripe[s].block_height = in imgu_css_osys_calc()
1013 osys->stripe[s].block_width = in imgu_css_osys_calc()
1015 osys->stripe[s].output_width[pin] = in imgu_css_osys_calc()
1017 osys->stripe[s].output_height[pin] = in imgu_css_osys_calc()
1022 osys->stripe[s].crop_left[pin] = in imgu_css_osys_calc()
1024 osys->stripe[s].output_offset[pin] = in imgu_css_osys_calc()
1032 osys->stripe[s].crop_left[pin] = 0; in imgu_css_osys_calc()
[all …]
/Linux-v6.1/drivers/md/bcache/
Dwriteback.c601 int stripe; in bcache_dev_sectors_dirty_add() local
606 stripe = offset_to_stripe(d, offset); in bcache_dev_sectors_dirty_add()
607 if (stripe < 0) in bcache_dev_sectors_dirty_add()
622 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add()
626 d->stripe_sectors_dirty + stripe); in bcache_dev_sectors_dirty_add()
628 if (!test_bit(stripe, d->full_dirty_stripes)) in bcache_dev_sectors_dirty_add()
629 set_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
631 if (test_bit(stripe, d->full_dirty_stripes)) in bcache_dev_sectors_dirty_add()
632 clear_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
637 stripe++; in bcache_dev_sectors_dirty_add()
[all …]
Dwriteback.h82 int stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty() local
84 if (stripe < 0) in bcache_dev_stripe_dirty()
88 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty()
95 stripe++; in bcache_dev_stripe_dirty()
/Linux-v6.1/Documentation/driver-api/md/
Draid5-ppl.rst6 addressed by PPL is that after a dirty shutdown, parity of a particular stripe
15 Partial parity for a write operation is the XOR of stripe data chunks not
18 the stripe, consistent with its state before the write operation, regardless of
20 this stripe is missing, this updated parity can be used to recover its
29 stripe. It does not require a dedicated journaling drive. Write performance is
36 silent data corruption. If a dirty disk of a stripe is lost, no PPL recovery is
37 performed for this stripe (parity is not updated). So it is possible to have
38 arbitrary data in the written part of a stripe if that disk is lost. In such
Draid5-cache.rst27 and parity don't match. The reason is that a stripe write involves several RAID
52 write. If a write crosses all RAID disks of a stripe, we call it full-stripe
53 write. For non-full-stripe writes, MD must read old data before the new parity
57 RAID disks only after the data becomes a full stripe write. This will
101 release the memory cache. The flush conditions could be stripe becomes a full
102 stripe write, free cache disk space is low or free in-kernel memory cache space
107 data and data. If MD finds a stripe with data and valid parities (1 parity for
/Linux-v6.1/fs/nfs/blocklayout/
Ddev.c127 p = xdr_decode_hyper(p, &b->stripe.chunk_size); in nfs4_block_decode_volume()
128 b->stripe.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume()
129 if (b->stripe.volumes_count > PNFS_BLOCK_MAX_DEVICES) { in nfs4_block_decode_volume()
130 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume()
134 p = xdr_inline_decode(xdr, b->stripe.volumes_count * 4); in nfs4_block_decode_volume()
137 for (i = 0; i < b->stripe.volumes_count; i++) in nfs4_block_decode_volume()
138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
433 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe()
438 for (i = 0; i < v->stripe.volumes_count; i++) { in bl_parse_stripe()
440 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe()
[all …]
Dblocklayout.h83 } stripe; member
/Linux-v6.1/Documentation/admin-guide/device-mapper/
Dunstriped.rst14 <number of stripes> <chunk size> <stripe #> <dev_path> <offset>
25 <stripe #>
26 The stripe number within the device that corresponds to physical
33 An example of undoing an existing dm-stripe
88 in a 256k stripe across the two cores::
Dstriped.rst2 dm-stripe
Ddm-raid.rst83 "stripe size". It is the only mandatory parameter and
194 starting at data_offset to fill up a new stripe with the larger
196 and write that new stripe to offset 0. Same will be applied to all
355 of a RAID 4/5/6 stripe and if subsequent read results are not
416 1.14.0 Fix reshape race on small devices. Fix stripe adding reshape
Ddm-log.rst7 inconsistent because a RAID stripe is currently being operated on or
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/modes/interface/
Disp_const.h75 #define CEIL_ROUND_DIV_STRIPE(width, stripe, padding) \ argument
76 …CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_D…
/Linux-v6.1/Documentation/filesystems/
Dntfs.rst15 - Using NTFS volume and stripe sets
35 For fault tolerance and raid support (i.e. volume and stripe sets), you can
245 Using NTFS volume and stripe sets
248 For support of volume and stripe sets, you can either use the kernel's
257 You will need to create a table of the components of the volume/stripe set and
262 though untested, there is no reason why stripe sets, i.e. raid level 0, and
397 Linear volume sets, i.e. linear raid, as well as stripe sets, i.e. raid level
404 NTFS volume/stripe you are configuring in /etc/raidtab as the persistent
407 Windows by default uses a stripe chunk size of 64k, so you probably want the
410 For example, if you have a stripe set consisting of two partitions /dev/hda5
[all …]
/Linux-v6.1/Documentation/admin-guide/
Dxfs.rst134 stripe unit configured at **mkfs(8)** time.
147 Data allocations will not be aligned at stripe unit
183 Used to specify the stripe unit and width for a RAID device
184 or a stripe volume. "value" must be specified in 512-byte
200 Data allocations will be rounded up to stripe width boundaries
202 size is larger than the stripe width size.
Dmd.rst746 number of entries in the stripe cache. This is writable, but
750 number of active entries in the stripe cache
753 number of times a stripe requiring preread will be bypassed by
754 a stripe that does not require preread. For fairness defaults
756 requires preread stripes to wait until all full-width stripe-
/Linux-v6.1/Documentation/scsi/
Darcmsr_spec.rst421 byte 8 stripe size
768 10:new stripe size
811 byte 29 stripe size
835 byte 29 new stripe size
DChangeLog.ips121 8K stripe size.
/Linux-v6.1/sound/hda/
Dhdac_stream.c132 if (azx_dev->stripe) { in snd_hdac_stream_start()
156 if (azx_dev->stripe) in snd_hdac_stream_clear()
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-fs-ext416 stripe size is not set in the ext4 superblock

12