Home
last modified time | relevance | path

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

123

/linux/fs/btrfs/
A Dscrub.c233 if (!stripe) in release_scrub_stripe()
254 memset(stripe, 0, sizeof(*stripe)); in init_scrub_stripe()
268 stripe->sectors = kcalloc(stripe->nr_sectors, in init_scrub_stripe()
946 stripe->logical, stripe->mirror_num); in scrub_stripe_report_errors()
960 stripe->logical, stripe->mirror_num); in scrub_stripe_report_errors()
1024 stripe->init_error_bitmap = stripe->error_bitmap; in scrub_stripe_read_repair_worker()
1627 stripe->sectors[sector_nr].csum = stripe->csums + in scrub_find_fill_first_stripe()
1656 stripe->bg->start + stripe->bg->length - stripe->logical); in stripe_length()
1868 &stripe->error_bitmap, stripe->nr_sectors); in flush_scrub_stripes()
2042 &stripe->extent_sector_bitmap, stripe->nr_sectors); in scrub_raid56_parity_stripe()
[all …]
A Draid56.c1151 if (!stripe->dev->bdev) { in rbio_add_io_sector()
1299 int stripe; in generate_pq_vertical() local
1303 for (stripe = 0; stripe < rbio->nr_data; stripe++) { in generate_pq_vertical()
1332 for (stripe = stripe - 1; stripe >= 0; stripe--) in generate_pq_vertical()
1342 int stripe; in rmw_assemble_write_bios() local
1371 if (stripe < rbio->nr_data) { in rmw_assemble_write_bios()
1421 if (stripe < rbio->nr_data) { in rmw_assemble_write_bios()
2517 int stripe; in finish_parity_scrub() local
2580 for (stripe = 0; stripe < nr_data; stripe++) { in finish_parity_scrub()
2607 for (stripe = nr_data - 1; stripe >= 0; stripe--) in finish_parity_scrub()
[all …]
A Draid-stripe-tree.c188 u32 stripe_index, struct btrfs_io_stripe *stripe) in btrfs_get_raid_extent_offset() argument
213 if (stripe->rst_search_commit_root) { in btrfs_get_raid_extent_offset()
266 if (devid != stripe->dev->devid) in btrfs_get_raid_extent_offset()
272 stripe->physical = physical + offset; in btrfs_get_raid_extent_offset()
275 stripe->physical, devid); in btrfs_get_raid_extent_offset()
286 if (ret && ret != -EIO && !stripe->rst_search_commit_root) { in btrfs_get_raid_extent_offset()
289 logical, logical + *length, stripe->dev->devid, in btrfs_get_raid_extent_offset()
A Dbio.c381 struct btrfs_io_stripe *stripe = bio->bi_private; in btrfs_orig_write_end_io() local
382 struct btrfs_io_context *bioc = stripe->bioc; in btrfs_orig_write_end_io()
389 btrfs_log_dev_io_error(bio, stripe->dev); in btrfs_orig_write_end_io()
402 stripe->physical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_orig_write_end_io()
410 struct btrfs_io_stripe *stripe = bio->bi_private; in btrfs_clone_write_end_io() local
413 atomic_inc(&stripe->bioc->error); in btrfs_clone_write_end_io()
414 btrfs_log_dev_io_error(bio, stripe->dev); in btrfs_clone_write_end_io()
416 stripe->physical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_clone_write_end_io()
420 bio_endio(stripe->bioc->orig_bio); in btrfs_clone_write_end_io()
A Draid-stripe-tree.h27 u32 stripe_index, struct btrfs_io_stripe *stripe);
A Dprint-tree.c208 struct btrfs_stripe_extent *stripe) in print_raid_stripe_key() argument
214 i, btrfs_raid_stride_devid(eb, &stripe->strides[i]), in print_raid_stripe_key()
215 btrfs_raid_stride_physical(eb, &stripe->strides[i])); in print_raid_stripe_key()
/linux/drivers/md/
A Ddm-stripe.c24 struct stripe { struct
47 struct stripe stripe[] __counted_by(stripes); argument
75 &sc->stripe[stripe].dev); in get_stripe()
79 sc->stripe[stripe].physical_start = start; in get_stripe()
233 uint32_t stripe; in stripe_map_range_sector() local
275 uint32_t stripe; in stripe_map() local
295 bio->bi_iter.bi_sector += sc->stripe[stripe].physical_start; in stripe_map()
296 bio_set_dev(bio, sc->stripe[stripe].dev->bdev); in stripe_map()
310 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_pgoff()
311 bdev = sc->stripe[stripe].dev->bdev; in stripe_dax_pgoff()
[all …]
/linux/drivers/staging/media/ipu3/
A 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()
1758 acc->stripe.input_frame.width = in imgu_css_cfg_acc_stripe()
1760 acc->stripe.input_frame.height = in imgu_css_cfg_acc_stripe()
1824 acc->stripe.bds_out_stripes[0]; in imgu_css_cfg_acc_stripe()
1826 acc->stripe.bds_out_stripes[1]; in imgu_css_cfg_acc_stripe()
1871 acc->stripe.out_frame_width = in imgu_css_cfg_acc_stripe()
[all …]
/linux/drivers/md/bcache/
A Dwriteback.c601 int stripe; in bcache_dev_sectors_dirty_add() local
607 if (stripe < 0) in bcache_dev_sectors_dirty_add()
622 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add()
637 stripe++; in bcache_dev_sectors_dirty_add()
656 int stripe; in refill_full_stripes() local
660 if (stripe < 0) in refill_full_stripes()
661 stripe = 0; in refill_full_stripes()
663 start_stripe = stripe; in refill_full_stripes()
669 if (stripe == dc->disk.nr_stripes) in refill_full_stripes()
686 stripe = next_stripe; in refill_full_stripes()
[all …]
A 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/Documentation/driver-api/md/
A 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
A 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/fs/nfs/blocklayout/
A Ddev.c187 p = xdr_decode_hyper(p, &b->stripe.chunk_size); in nfs4_block_decode_volume()
188 b->stripe.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume()
189 if (b->stripe.volumes_count > PNFS_BLOCK_MAX_DEVICES) { in nfs4_block_decode_volume()
190 dprintk("Too many volumes: %d\n", b->stripe.volumes_count); in nfs4_block_decode_volume()
194 p = xdr_inline_decode(xdr, b->stripe.volumes_count * 4); in nfs4_block_decode_volume()
197 for (i = 0; i < b->stripe.volumes_count; i++) in nfs4_block_decode_volume()
198 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
492 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe()
497 for (i = 0; i < v->stripe.volumes_count; i++) { in bl_parse_stripe()
499 volumes, v->stripe.volumes[i], gfp_mask); in bl_parse_stripe()
[all …]
A Dblocklayout.h83 } stripe; member
/linux/fs/bcachefs/
A Dalloc_background_format.h19 x(stripe, 32) \
42 x(stripe, 32) \
70 __u32 stripe; member
A Dalloc_background.h47 dst->stripe = src.stripe; in alloc_to_bucket()
57 dst->stripe = src.stripe; in __bucket_m_to_alloc()
133 if (a.stripe) in alloc_data_type()
A Dalloc_types.h27 x(stripe) \
113 struct dev_stripe_state stripe; member
A Dalloc_foreground.c700 return ((stripe->next_alloc[l] > stripe->next_alloc[r]) - in __dev_stripe_cmp()
701 (stripe->next_alloc[l] < stripe->next_alloc[r])); in __dev_stripe_cmp()
707 struct dev_stripe_state *stripe, in bch2_dev_alloc_list() argument
721 struct dev_stripe_state *stripe, in bch2_dev_stripe_increment_inlined() argument
724 u64 *v = stripe->next_alloc + ca->dev_idx; in bch2_dev_stripe_increment_inlined()
736 for (v = stripe->next_alloc; in bch2_dev_stripe_increment_inlined()
737 v < stripe->next_alloc + ARRAY_SIZE(stripe->next_alloc); v++) in bch2_dev_stripe_increment_inlined()
742 struct dev_stripe_state *stripe) in bch2_dev_stripe_increment() argument
747 bch2_dev_stripe_increment_inlined(ca, stripe, &usage); in bch2_dev_stripe_increment()
777 struct dev_stripe_state *stripe, in bch2_bucket_alloc_set_trans() argument
[all …]
A Dec.h225 void bch2_stripes_heap_update(struct bch_fs *, struct stripe *, size_t);
226 void bch2_stripes_heap_del(struct bch_fs *, struct stripe *, size_t);
227 void bch2_stripes_heap_insert(struct bch_fs *, struct stripe *, size_t);
A Dec.c209 a->stripe, s.k->p.offset, in __mark_stripe_bucket()
230 a->stripe, in __mark_stripe_bucket()
267 a->stripe = s.k->p.offset; in __mark_stripe_bucket()
271 a->stripe = 0; in __mark_stripe_bucket()
819 struct ec_stripe_buf *stripe) in get_stripe_key_trans() argument
834 bkey_reassemble(&stripe->key, k); in get_stripe_key_trans()
1070 struct stripe *m, size_t idx) in bch2_stripes_heap_del()
1987 struct stripe *m; in get_existing_stripe()
2248 if (!a->stripe) in bch2_invalidate_stripe_to_dev()
2259 BTREE_ITER_slots, stripe); in bch2_invalidate_stripe_to_dev()
[all …]
A Dec_types.h12 struct stripe { struct
A Dbuckets_types.h16 u32 stripe; member
A Ddisk_accounting_format.h63 x(stripe, 7) \
/linux/Documentation/admin-guide/device-mapper/
A 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::
/linux/drivers/staging/media/atomisp/pci/isp/modes/interface/
A 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…

Completed in 59 milliseconds

123