Lines Matching defs:r5conf

429 struct r5conf {  struct
430 struct hlist_head *stripe_hashtbl;
432 spinlock_t hash_locks[NR_STRIPE_HASH_LOCKS];
433 struct mddev *mddev;
434 int chunk_sectors;
435 int level, algorithm, rmw_level;
436 int max_degraded;
437 int raid_disks;
438 int max_nr_stripes;
439 int min_nr_stripes;
446 sector_t reshape_progress;
450 sector_t reshape_safe;
451 int previous_raid_disks;
452 int prev_chunk_sectors;
453 int prev_algo;
454 short generation; /* increments with every reshape */
455 seqcount_t gen_lock; /* lock against generation changes */
456 unsigned long reshape_checkpoint; /* Time we last updated
458 long long min_offset_diff; /* minimum difference between
465 struct list_head handle_list; /* stripes needing handling */
466 struct list_head hold_list; /* preread ready stripes */
467 struct list_head delayed_list; /* stripes that have plugged requests */
468 struct list_head bitmap_list; /* stripes delaying awaiting bitmap update */
469 struct bio *retry_read_aligned; /* currently retrying aligned bios */
470 struct bio *retry_read_aligned_list; /* aligned bios retry list */
471 atomic_t preread_active_stripes; /* stripes with scheduled io */
472 atomic_t active_aligned_reads;
473 atomic_t pending_full_writes; /* full write backlog */
474 int bypass_count; /* bypassed prereads */
475 int bypass_threshold; /* preread nice */
476 int skip_copy; /* Don't copy data from bio to stripe cache */
477 struct list_head *last_hold; /* detect hold_list promotions */
479 atomic_t reshape_stripes; /* stripes with pending writes for reshape */
483 int active_name;
484 char cache_name[2][32];
485 struct kmem_cache *slab_cache; /* for allocating stripes */
486 struct mutex cache_size_mutex; /* Protect changes to cache size */
488 int seq_flush, seq_write;
489 int quiesce;
491 int fullsync; /* set to 1 if a full sync is needed,
495 int recovery_disabled;
497 struct raid5_percpu {
503 } __percpu *percpu;
504 int scribble_disks;
505 int scribble_sectors;
507 struct notifier_block cpu_notify;
513 atomic_t active_stripes;
514 struct list_head inactive_list[NR_STRIPE_HASH_LOCKS];
515 atomic_t empty_inactive_list_nr;
516 struct llist_head released_stripes;
517 wait_queue_head_t wait_for_stripe;
518 wait_queue_head_t wait_for_overlap;
519 unsigned long cache_state;
531 struct shrinker shrinker;
532 int pool_size; /* number of disks in stripeheads in pool */
533 spinlock_t device_lock;
534 struct disk_info *disks;
539 struct md_thread *thread;
540 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
541 struct r5worker_group *worker_groups;
542 int group_cnt;
543 int worker_cnt_per_group;