Lines Matching defs:r5conf
363 struct r5conf { struct
364 struct hlist_head *stripe_hashtbl;
365 struct mddev *mddev;
366 int chunk_sectors;
367 int level, algorithm;
368 int max_degraded;
369 int raid_disks;
370 int max_nr_stripes;
377 sector_t reshape_progress;
381 sector_t reshape_safe;
382 int previous_raid_disks;
383 int prev_chunk_sectors;
384 int prev_algo;
385 short generation; /* increments with every reshape */
386 unsigned long reshape_checkpoint; /* Time we last updated
389 struct list_head handle_list; /* stripes needing handling */
390 struct list_head hold_list; /* preread ready stripes */
391 struct list_head delayed_list; /* stripes that have plugged requests */
392 struct list_head bitmap_list; /* stripes delaying awaiting bitmap update */
393 struct bio *retry_read_aligned; /* currently retrying aligned bios */
394 struct bio *retry_read_aligned_list; /* aligned bios retry list */
395 atomic_t preread_active_stripes; /* stripes with scheduled io */
396 atomic_t active_aligned_reads;
397 atomic_t pending_full_writes; /* full write backlog */
398 int bypass_count; /* bypassed prereads */
399 int bypass_threshold; /* preread nice */
400 struct list_head *last_hold; /* detect hold_list promotions */
402 atomic_t reshape_stripes; /* stripes with pending writes for reshape */
406 int active_name;
407 char cache_name[2][32];
408 struct kmem_cache *slab_cache; /* for allocating stripes */
410 int seq_flush, seq_write;
411 int quiesce;
413 int fullsync; /* set to 1 if a full sync is needed,
417 int recovery_disabled;
419 struct raid5_percpu {
425 } __percpu *percpu;
426 size_t scribble_len; /* size of scribble region must be
431 struct notifier_block cpu_notify;
437 atomic_t active_stripes;
438 struct list_head inactive_list;
439 wait_queue_head_t wait_for_stripe;
440 wait_queue_head_t wait_for_overlap;
441 int inactive_blocked; /* release of inactive stripes blocked,
444 int pool_size; /* number of disks in stripeheads in pool */
445 spinlock_t device_lock;
446 struct disk_info *disks;
451 struct md_thread *thread;