Lines Matching full:stripe
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.
111 * activate an unhashed/inactive stripe (get_active_stripe())
112 * lockdev check-hash unlink-stripe cnt++ clean-stripe hash-stripe unlockdev
113 * activate a hashed, possibly active stripe (get_active_stripe())
114 * lockdev check-hash if(!cnt++)unlink-stripe unlockdev
115 * attach a request to an active stripe (add_stripe_bh())
117 * handle a stripe (handle_stripe())
122 * release an active stripe (release_stripe())
125 * The refcount counts each thread that have activated the stripe,
127 * on a cached buffer, and plus one if the stripe is undergoing stripe
130 * The stripe operations are:
131 * -copying data between the stripe cache and user application buffers
169 * enum check_states - handles syncing / repairing a stripe
187 * enum reconstruct_states - handles writing or expanding a stripe
215 int disks; /* disks in stripe */
216 int overwrite_disks; /* total overwrite disks in stripe,
217 * this is only checked when stripe
226 struct stripe_head *batch_head; /* protected by stripe lock */
239 struct page *ppl_page; /* partial parity of this stripe */
331 * up-to-date at this stripe. */
335 R5_Discard, /* Discard the stripe */
336 R5_SkipCopy, /* Don't copy data from bio to stripe cache */
350 * Stripe state
388 STRIPE_R5C_CACHING, /* the stripe is in caching phase
440 * for the one stripe have all been collected.
444 * a stripe is put on it then we "plug" the queue and do not process it
447 * When preread is initiated on a stripe, we set PREREAD_ACTIVE and add
449 * When write is initiated, or the stripe refcnt == 0 (just in case) we
478 * Stripe cache
533 * stripe.
535 R5_DID_ALLOC, /* A stripe was allocated, don't allocate
547 R5C_EXTRA_PAGE_IN_USE, /* a stripe is using disk_info.extra_page
556 sector_t sector; /* stripe sector */
624 int skip_copy; /* Don't copy data from bio to stripe cache */
705 /* bio's attached to a stripe+device for I/O are linked together in bi_sector
706 * order without overlap. There may be several bio's per stripe+device, and
708 * When walking this list for a particular stripe+device, we must never proceed
712 * sector of the current stripe+device
810 /* get stripe from previous generation (when reshaping) */
812 /* do not block waiting for a free stripe */