Lines Matching defs:new
24 * new additions.
901 /* Only freshly new full stripe normal write stripe can be added to a batch list */
1024 /* We are in a reshape, and this is a new-generation stripe,
1463 * new R5_Wantfill requests are held off until
2535 * New slots in each stripe get 'page' set to a new page.
2538 * 1/ create a new kmem_cache and allocate the required number of
2541 * to the new stripe_heads. This will have the side effect of
2548 * 4/ allocate new pages for the new slots in the new stripe_heads.
2551 * As each stripe_head is processed the new one is released into
2663 /* Step 4, return new stripes to service */
3196 * Finally, compute the new sector number
3410 * there will be bios with new data to be drained into the
3496 /* Don't allow new IO added to stripes in batch list */
4341 * simultaneously. If this is not the case then new writes need to be
4361 /* start a new check operation if there are no failures */
4465 /* start a new check operation if there are < 2 failures */
4725 * new wantfill requests are only permitted while
4919 * BATCH_READY is cleared, no new stripes can be added.
5177 * Now to consider new write requests, cache write back and what else,
5178 * if anything should be read. We do not handle new writes when:
5472 * did, call bio_endio on the original bio (having bio_put the new bio
6311 * If old and new chunk sizes differ, we need to process the
6930 unsigned long new;
6935 if (kstrtoul(page, 10, &new))
6944 err = raid5_set_cache_size(mddev, new);
6969 unsigned long new;
6977 if (kstrtoul(page, 10, &new))
6980 if (new != PARITY_DISABLE_RMW && !raid6_call.xor_syndrome)
6983 if (new != PARITY_DISABLE_RMW &&
6984 new != PARITY_ENABLE_RMW &&
6985 new != PARITY_PREFER_RMW)
6988 conf->rmw_level = new;
7016 unsigned long new;
7022 if (kstrtoul(page, 10, &new))
7030 if (new % DEFAULT_STRIPE_SIZE != 0 ||
7031 new > PAGE_SIZE || new == 0 ||
7032 new != roundup_pow_of_two(new))
7045 if (new == conf->stripe_size)
7049 conf->stripe_size, new);
7065 conf->stripe_size = new;
7066 conf->stripe_shift = ilog2(new) - 9;
7067 conf->stripe_sectors = new >> 9;
7109 unsigned long new;
7114 if (kstrtoul(page, 10, &new))
7123 else if (new > conf->min_nr_stripes)
7126 conf->bypass_threshold = new;
7154 unsigned long new;
7159 if (kstrtoul(page, 10, &new))
7161 new = !!new;
7169 else if (new != conf->skip_copy) {
7173 conf->skip_copy = new;
7174 if (new)
7222 unsigned int new;
7229 if (kstrtouint(page, 10, &new))
7232 if (new > 8192)
7241 else if (new != conf->worker_cnt_per_group) {
7248 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups);
7252 conf->worker_cnt_per_group = new;
7350 /* size is defined by the smallest of previous and new size */
7856 /* reshape_position must be on a new-stripe boundary, and one
7857 * further up in new geometry must map after here in old
7861 * be a multiple of the largest chunk size times new data disks.
7978 /* We need to check old and new layout */
8236 * neilb: there is no locking about new writes here,
8401 * We need to make sure resync covers any new space.
8576 /* Add some new drives, as many as will fit.
8840 * For larger arrays we record the new value - after validation