diff options
Diffstat (limited to 'drivers/md/raid5.h')
| -rw-r--r-- | drivers/md/raid5.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 6614ac5ffc0e..ebe4e24bc14d 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
| @@ -509,9 +509,11 @@ struct r5conf { | |||
| 509 | struct llist_head released_stripes; | 509 | struct llist_head released_stripes; |
| 510 | wait_queue_head_t wait_for_stripe; | 510 | wait_queue_head_t wait_for_stripe; |
| 511 | wait_queue_head_t wait_for_overlap; | 511 | wait_queue_head_t wait_for_overlap; |
| 512 | int inactive_blocked; /* release of inactive stripes blocked, | 512 | unsigned long cache_state; |
| 513 | * waiting for 25% to be free | 513 | #define R5_INACTIVE_BLOCKED 1 /* release of inactive stripes blocked, |
| 514 | */ | 514 | * waiting for 25% to be free |
| 515 | */ | ||
| 516 | |||
| 515 | int pool_size; /* number of disks in stripeheads in pool */ | 517 | int pool_size; /* number of disks in stripeheads in pool */ |
| 516 | spinlock_t device_lock; | 518 | spinlock_t device_lock; |
| 517 | struct disk_info *disks; | 519 | struct disk_info *disks; |
| @@ -526,6 +528,7 @@ struct r5conf { | |||
| 526 | int worker_cnt_per_group; | 528 | int worker_cnt_per_group; |
| 527 | }; | 529 | }; |
| 528 | 530 | ||
| 531 | |||
| 529 | /* | 532 | /* |
| 530 | * Our supported algorithms | 533 | * Our supported algorithms |
| 531 | */ | 534 | */ |
