• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching refs:stripe

33  * When we discover that we will need to write to any block in a stripe
37 * we plug the array and queue the stripe for later.
74 /* bio's attached to a stripe+device for I/O are linked together in bi_sector
75 * order without overlap. There may be several bio's per stripe+device, and
77 * When walking this list for a particular stripe+device, we must never proceed
81 * of the current stripe+device
135 /* Find first data disk in a raid6 stripe */
244 pr_debug("remove_hash(), stripe %llu\n",
254 pr_debug("insert_hash(), stripe %llu\n",
262 /* find an idle stripe, make sure it is unhashed, and return it. */
312 static void stripe_set_idx(sector_t stripe, raid5_conf_t *conf, int previous,
325 pr_debug("init_stripe called, stripe %llu\n",
633 pr_debug("%s: stripe %llu\n", __func__,
679 pr_debug("%s: stripe %llu\n", __func__,
721 pr_debug("%s: stripe %llu\n", __func__,
755 pr_debug("%s: stripe %llu block: %d\n",
779 * Populates srcs in proper layout order for the stripe and returns the
829 pr_debug("%s: stripe %llu block: %d\n",
879 pr_debug("%s: stripe %llu block1: %d block2: %d\n",
907 pr_debug("%s: stripe: %llu faila: %d failb: %d\n",
976 pr_debug("%s: stripe %llu\n", __func__,
992 pr_debug("%s: stripe %llu\n", __func__,
1015 pr_debug("%s: stripe %llu\n", __func__,
1052 pr_debug("%s: stripe %llu\n", __func__,
1087 pr_debug("%s: stripe %llu\n", __func__,
1136 pr_debug("%s: stripe %llu\n", __func__, (unsigned long long)sh->sector);
1151 pr_debug("%s: stripe %llu\n", __func__,
1171 pr_debug("%s: stripe %llu\n", __func__,
1199 pr_debug("%s: stripe %llu checkp: %d\n", __func__,
1326 /* we just created an active stripe so... */
1386 * New slots in each stripe get 'page' set to a new page.
1394 * no IO will be possible. Old stripe heads are freed once their
1729 sector_t stripe, stripe2;
1752 * Compute the stripe number
1754 stripe = chunk_number;
1755 *dd_idx = sector_div(stripe, data_disks);
1756 stripe2 = stripe;
1853 /* Same a left_asymmetric, by first stripe is
1923 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset;
1938 sector_t stripe;
1947 stripe = new_sector;
2035 chunk_number = stripe * data_disks + i;
2061 * stripe cache
2127 pr_debug("%s: stripe %llu locked: %d ops_request: %lx\n",
2133 * Each stripe/dev can have one or more bion attached.
2143 pr_debug("adding bh b#%llu to stripe s#%llu\n",
2172 pr_debug("added bi b#%llu to stripe s#%llu, disk %d.\n",
2207 static void stripe_set_idx(sector_t stripe, raid5_conf_t *conf, int previous,
2213 int chunk_offset = sector_div(stripe, sectors_per_chunk);
2217 stripe * (disks - conf->max_degraded)
2238 /* multiple read failures in one stripe */
2377 * is already in flight, or if the stripe contents are in the
2421 pr_debug("Computing stripe %llu block %d\n",
2444 pr_debug("Computing stripe %llu blocks %d,%d\n",
2478 * is already in flight, or if the stripe contents are in the
2652 pr_debug("Read_old stripe %llu "
2659 pr_debug("Request delayed stripe %llu "
2702 /* check that a write has not made the stripe insync */
2723 * STRIPE_INSYNC not set and let the stripe be handled again
2826 /* check that a write has not made the stripe insync */
2933 /* We have read all the blocks in this stripe and now we need to
2934 * copy some of them into a target stripe for expand.
2949 /* so far only the early blocks of this stripe
2990 * handle_stripe - do things to a stripe.
2992 * We lock the stripe and then examine the state of various bits
3002 * get BH_Lock set before the stripe lock is released.
3018 pr_debug("handling stripe %llu, state=%#lx cnt=%d, pd_idx=%d check:%d "
3187 /* maybe we need to check and possibly fix the parity for this stripe
3307 pr_debug("handling stripe %llu, state=%#lx cnt=%d, "
3486 /* maybe we need to check and possibly fix the parity for this stripe
3918 /* __get_priority_stripe - get the next stripe to process
3920 * Full stripe writes are allowed to pass preread active stripes up until
3924 * stripe with in flight i/o. The bypass_count will be reset when the
4019 * to the stripe that we think it is, we will have
4053 * stripe, so we must do the range check again.
4058 * won't proceed until we finish with the stripe.
4111 /* cannot get stripe for read-ahead, just give-up */
4150 * into the destination stripe and release that stripe.
4272 /* If any of this stripe is beyond the end of the old
4303 /* Ok, those stripe are ready. We can start scheduling
4393 * stripe, and as resync_max will always be on a chunk boundary,
4423 /* make sure we don't swamp the stripe cache if someone else
4455 * So we do one stripe head at a time and record in
4479 /* already done this stripe */
4485 /* failed to get a stripe - must wait */
5006 * a stripe over-writes itself
5019 /* reshape_position must be on a new-stripe boundary, and one
5027 "on a stripe boundary\n", mdname(mddev));
5031 /* here_new is the stripe we will write to */
5035 /* here_old is the first stripe that we might need to read
5058 /* Reading from the same stripe as writing to - bad */
5199 int stripe = data_disks *
5201 if (mddev->queue->backing_dev_info.ra_pages < 2 * stripe)
5202 mddev->queue->backing_dev_info.ra_pages = 2 * stripe;
5463 * We need a minimum of one full stripe,, and for sensible progress
5646 int stripe = data_disks * ((conf->chunk_sectors << 9)
5648 if (conf->mddev->queue->backing_dev_info.ra_pages < 2 * stripe)
5649 conf->mddev->queue->backing_dev_info.ra_pages = 2 * stripe;