Lines Matching full:stripe
10 * Each stripe contains one buffer per device. Each buffer can be in
45 * will at worst delay some action, and the stripe will be scheduled
53 * To distinguish these states we have a stripe bit STRIPE_INSYNC that
60 * to the appropriate stripe in one of two lists linked on b_reqnext.
86 * Stripes in the stripe cache can be on one of two lists (or on
89 * for another stripe. The "handle_list" contains stripes that need
91 * stripe is also (potentially) linked to a hash bucket in the hash
99 * - If a stripe might need handling, STRIPE_HANDLE is set.
104 * cleared while a stripe has a non-zero count means that if the
107 * the stripe is on inactive_list.
110 * activate an unhashed/inactive stripe (get_active_stripe())
111 * lockdev check-hash unlink-stripe cnt++ clean-stripe hash-stripe unlockdev
112 * activate a hashed, possibly active stripe (get_active_stripe())
113 * lockdev check-hash if(!cnt++)unlink-stripe unlockdev
114 * attach a request to an active stripe (add_stripe_bh())
116 * handle a stripe (handle_stripe())
121 * release an active stripe (release_stripe())
124 * The refcount counts each thread that have activated the stripe,
126 * on a cached buffer, and plus one if the stripe is undergoing stripe
129 * The stripe operations are:
130 * -copying data between the stripe cache and user application buffers
168 * enum check_states - handles syncing / repairing a stripe
186 * enum reconstruct_states - handles writing or expanding a stripe
214 int disks; /* disks in stripe */
215 int overwrite_disks; /* total overwrite disks in stripe,
216 * this is only checked when stripe
225 struct stripe_head *batch_head; /* protected by stripe lock */
238 struct page *ppl_page; /* partial parity of this stripe */
330 * up-to-date at this stripe. */
334 R5_Discard, /* Discard the stripe */
335 R5_SkipCopy, /* Don't copy data from bio to stripe cache */
349 * Stripe state
391 STRIPE_R5C_CACHING, /* the stripe is in caching phase
443 * for the one stripe have all been collected.
447 * a stripe is put on it then we "plug" the queue and do not process it
450 * When preread is initiated on a stripe, we set PREREAD_ACTIVE and add
452 * When write is initiated, or the stripe refcnt == 0 (just in case) we
480 * Stripe cache
535 * stripe.
537 R5_DID_ALLOC, /* A stripe was allocated, don't allocate
549 R5C_EXTRA_PAGE_IN_USE, /* a stripe is using disk_info.extra_page
558 sector_t sector; /* stripe sector */
616 int skip_copy; /* Don't copy data from bio to stripe cache */
704 /* bio's attached to a stripe+device for I/O are linked together in bi_sector
705 * order without overlap. There may be several bio's per stripe+device, and
707 * When walking this list for a particular stripe+device, we must never proceed
711 * sector of the current stripe+device