/openbmc/linux/fs/btrfs/ |
H A D | scrub.c | 96 * Set for data stripes if it's triggered from P/Q stripe. 125 * How many data/meta extents are in this stripe. Only for scrub status 136 * Indicate the states of the stripe. Bits are defined in 145 * The errors hit during the initial read of the stripe. 177 * Checksum for the whole stripe if this stripe is inside a data block 232 static void release_scrub_stripe(struct scrub_stripe *stripe) in release_scrub_stripe() argument 234 if (!stripe) in release_scrub_stripe() 238 if (stripe->pages[i]) in release_scrub_stripe() 239 __free_page(stripe->pages[i]); in release_scrub_stripe() 240 stripe->pages[i] = NULL; in release_scrub_stripe() [all …]
|
H A D | raid56.h | 23 * While we're doing RMW on a stripe we put it into a hash table so we 24 * can lock the stripe and merge more rbios into it. 28 /* LRU list for the stripe cache */ 35 * bio_list and bio_list_lock are used to add more bios into the stripe 43 * plugging code to collect partial bios while plugged. The stripe 44 * locking code also uses it to hand off the stripe lock to the next 58 /* How many pages there are for the full stripe including P/Q */ 61 /* How many sectors there are for the full stripe including P/Q */ 70 /* How many pages there are for each stripe */ 73 /* How many sectors there are for each stripe */ [all …]
|
H A D | raid56.c | 116 * the stripe hash table is used for locking, and to collect 117 * bios in hopes of making a full stripe 161 * use the page uptodate bit in the stripe cache array 201 * we hash on the first logical address of the stripe 290 * Stealing an rbio means taking all the uptodate pages from the stripe array 315 * all data stripe pages present and uptodate. in steal_rbio() 455 * insert an rbio into the stripe cache. It 525 * Returns true if the bio list inside this rbio covers an entire stripe (no 545 * the same stripe and if they are both going in the same 577 * We've need read the full stripe from the drive. in rbio_can_merge() [all …]
|
H A D | volumes.h | 278 * Read policies for mirrored block group profiles, read picks the stripe based 282 /* Use process PID to choose the stripe */ 405 * Context for IO subsmission for device stripe. 418 * - Contain RAID56 full stripe logical bytenrs 430 * stripe for replace. 468 * The duplicated stripe index would be 478 * Logical bytenr of the full stripe start, only for RAID56 cases. 486 * stripes[0]: The first data stripe 487 * stripes[1]: The second data stripe 489 * stripes[data_stripes - 1]: The last data stripe [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-stripe.c | 24 struct stripe { struct 47 struct stripe stripe[]; argument 52 * drops out of a stripe volume. 65 unsigned int stripe, char **argv) in get_stripe() argument 75 &sc->stripe[stripe].dev); in get_stripe() 79 sc->stripe[stripe].physical_start = start; in get_stripe() 103 ti->error = "Invalid stripe count"; in stripe_ctr() 132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr() 168 * Get the stripe destinations. in stripe_ctr() 175 ti->error = "Couldn't parse stripe destination"; in stripe_ctr() [all …]
|
H A D | raid5.h | 11 * Each stripe contains one buffer per device. Each buffer can be in 46 * will at worst delay some action, and the stripe will be scheduled 54 * To distinguish these states we have a stripe bit STRIPE_INSYNC that 61 * to the appropriate stripe in one of two lists linked on b_reqnext. 87 * Stripes in the stripe cache can be on one of two lists (or on 90 * for another stripe. The "handle_list" contains stripes that need 92 * stripe is also (potentially) linked to a hash bucket in the hash 100 * - If a stripe might need handling, STRIPE_HANDLE is set. 105 * cleared while a stripe has a non-zero count means that if the 108 * the stripe is on inactive_list. [all …]
|
H A D | dm-unstripe.c | 37 * <number of stripes> <chunk size> <stripe #> <dev_path> <offset> 58 ti->error = "Invalid stripe count"; in unstripe_ctr() 68 ti->error = "Invalid stripe number"; in unstripe_ctr() 73 ti->error = "Please provide stripe between [0, # of stripes]"; in unstripe_ctr() 123 /* Shift us up to the right "row" on the stripe */ in map_to_core() 131 /* Account for what stripe we're operating on */ in map_to_core()
|
H A D | raid5-cache.c | 54 * With the RAID cache, each stripe works in two phases: 59 * if STRIPE_R5C_CACHING == 0, the stripe is in writing-out phase 60 * if STRIPE_R5C_CACHING == 1, the stripe is in caching phase 63 * the stripe is always in writing-out phase. 65 * For write-back journal, the stripe is sent to caching phase on write 70 * writes are committed from the log device. Therefore, a stripe in 160 * Each chunk may contain more than one stripe (for example, a 256kB 173 * It is necessary to remember whether a stripe is counted in 176 * two flags are set, the stripe is counted in big_stripe_tree. This 322 /* Check whether we should flush some stripes to free up stripe cache */ [all …]
|
H A D | raid5.c | 25 * When we discover that we will need to write to any block in a stripe 29 * we plug the array and queue the stripe for later. 117 /* Find first data disk in a raid6 stripe */ 234 * In the following cases, the stripe cannot be released to cached in do_release_stripe() 235 * lists. Therefore, we make the stripe write out and set in do_release_stripe() 238 * 2. when resync is requested fot the stripe. in do_release_stripe() 286 /* full stripe */ in do_release_stripe() 424 pr_debug("remove_hash(), stripe %llu\n", in remove_hash() 434 pr_debug("insert_hash(), stripe %llu\n", in insert_hash() 440 /* find an idle stripe, make sure it is unhashed, and return it. */ [all …]
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-css-params.c | 229 * Function calculates input frame stripe offset, based 230 * on output frame stripe offset and filter parameters. 244 * stripe offset and filter parameters 260 * This function calculates input frame stripe width, 261 * based on output frame stripe offset and filter parameters 277 * This function calculates output frame stripe width, basedi 278 * on output frame stripe offset and filter parameters 530 /* Stripe parameters */ in imgu_css_osys_calc_frame_and_stripe_params() 573 /* Calculate stripe offsets */ in imgu_css_osys_calc_frame_and_stripe_params() 596 /* Calculate stripe phase init */ in imgu_css_osys_calc_frame_and_stripe_params() [all …]
|
/openbmc/linux/Documentation/driver-api/md/ |
H A D | raid5-ppl.rst | 6 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
|
H A D | raid5-cache.rst | 27 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
|
/openbmc/qemu/ui/ |
H A D | console-gl.c | 145 int gw, gh, stripe; in surface_gl_setup_viewport() local 156 stripe = wh - wh*sw/sh; in surface_gl_setup_viewport() 157 glViewport(0, stripe / 2, ww, wh - stripe); in surface_gl_setup_viewport() 159 stripe = ww - ww*sh/sw; in surface_gl_setup_viewport() 160 glViewport(stripe / 2, 0, ww - stripe, wh); in surface_gl_setup_viewport()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | writeback.c | 601 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 …]
|
H A D | writeback.h | 66 pr_err("Invalid stripe %llu (>= nr_stripes %d).\n", in offset_to_stripe() 82 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()
|
/openbmc/linux/fs/nfs/blocklayout/ |
H A D | dev.c | 127 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() 214 /* truncate offset to the beginning of the stripe */ in bl_map_stripe() 217 /* disk offset of the stripe */ in bl_map_stripe() 435 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe() [all …]
|
/openbmc/u-boot/fs/btrfs/ |
H A D | chunk-map.c | 20 struct btrfs_stripe *stripe; in add_chunk_mapping() local 34 stripe = &chunk->stripe; in add_chunk_mapping() 35 btrfs_stripe_to_cpu(stripe); in add_chunk_mapping() 60 map_item->physical = le64_to_cpu(chunk->stripe.offset); in add_chunk_mapping()
|
/openbmc/linux/fs/nfs/filelayout/ |
H A D | filelayoutdev.c | 87 /* Get the stripe count (number of stripe index) */ in nfs4_fl_alloc_deviceid_node() 93 dprintk("%s stripe count %d\n", __func__, cnt); in nfs4_fl_alloc_deviceid_node() 95 printk(KERN_WARNING "NFS: %s: stripe count %d greater than " in nfs4_fl_alloc_deviceid_node() 101 /* read stripe indices */ in nfs4_fl_alloc_deviceid_node() 132 /* validate stripe indices are all < num */ in nfs4_fl_alloc_deviceid_node() 134 printk(KERN_WARNING "NFS: %s: stripe index %u >= num ds %u\n", in nfs4_fl_alloc_deviceid_node()
|
/openbmc/linux/net/ceph/ |
H A D | striper.c | 12 * Map a file extent to a stripe unit within an object. 31 u64 stripeno; /* which stripe */ in ceph_calc_file_object_mapping() 32 u32 stripepos; /* which su in the stripe, in ceph_calc_file_object_mapping() 35 u32 objsetpos; /* which stripe in the object set */ in ceph_calc_file_object_mapping() 100 * mapped stripe unit, whether it was merged into an already allocated 219 u64 stripeno; /* which stripe */ in ceph_extent_to_file() 220 u32 stripepos; /* which su in the stripe, in ceph_extent_to_file()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | unstriped.rst | 14 <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::
|
H A D | dm-raid.rst | 68 - RAID1E: Integrated Adjacent Stripe Mirroring 69 - RAID1E: Integrated Offset Stripe Mirroring 83 "stripe size". It is the only mandatory parameter and 107 Stripe cache size (RAID 4/5/6 only) 136 Adjacent Stripe Mirroring'. 170 Offset Stripe Mirroring'. 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
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/ |
H A D | jquery.dataTables-1.13.8.min.css | 1 …stripe: 0, 0, 0;--dt-row-hover: 0, 0, 0;--dt-column-ordering: 0, 0, 0;--dt-html-background: white}…
|
/openbmc/linux/Documentation/filesystems/ |
H A D | ntfs.rst | 15 - 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 …]
|
/openbmc/linux/fs/ceph/ |
H A D | util.c | 17 /* stripe unit, object size must be non-zero, 64k increment */ in ceph_file_layout_is_valid() 22 /* object size must be a multiple of stripe unit */ in ceph_file_layout_is_valid() 25 /* stripe count must be non-zero */ in ceph_file_layout_is_valid()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 449 * Do not allow filesystems with corrupted log sector or stripe units to in xfs_validate_sb_common() 451 * the log stripe unit is not valid. in xfs_validate_sb_common() 470 "log stripe unit 0x%x bytes must be a multiple of block size", in xfs_validate_sb_common() 476 "log stripe unit 0x%x bytes over maximum size (0x%x bytes)", in xfs_validate_sb_common() 521 xfs_notice(mp, "SB stripe alignment sanity check failed"); in xfs_validate_sb_common() 1319 * if the stripe geometry is invalid and the caller is unable to repair the 1320 * stripe configuration later in the mount process. 1334 "stripe width (%lld) is too large", swidth); in xfs_validate_stripe_geometry() 1341 "stripe unit (%lld) is larger than the stripe width (%lld)", sunit, swidth); in xfs_validate_stripe_geometry() 1348 "stripe unit (%lld) must be a multiple of the sector size (%d)", in xfs_validate_stripe_geometry() [all …]
|