aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-09-08 20:55:21 -0400
committerDan Williams <dan.j.williams@intel.com>2009-09-08 20:55:21 -0400
commitbbb20089a3275a19e475dbc21320c3742e3ca423 (patch)
tree216fdc1cbef450ca688135c5b8969169482d9a48 /drivers/md/raid5.h
parent3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff)
parent657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff)
Merge branch 'dmaengine' into async-tx-next
Conflicts: crypto/async_tx/async_xor.c drivers/dma/ioat/dma_v2.h drivers/dma/ioat/pci.c drivers/md/raid5.c
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index 116d0b44b2a9..2390e0e83daf 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -337,7 +337,8 @@ struct raid5_private_data {
337 struct hlist_head *stripe_hashtbl; 337 struct hlist_head *stripe_hashtbl;
338 mddev_t *mddev; 338 mddev_t *mddev;
339 struct disk_info *spare; 339 struct disk_info *spare;
340 int chunk_size, level, algorithm; 340 int chunk_sectors;
341 int level, algorithm;
341 int max_degraded; 342 int max_degraded;
342 int raid_disks; 343 int raid_disks;
343 int max_nr_stripes; 344 int max_nr_stripes;
@@ -353,7 +354,8 @@ struct raid5_private_data {
353 */ 354 */
354 sector_t reshape_safe; 355 sector_t reshape_safe;
355 int previous_raid_disks; 356 int previous_raid_disks;
356 int prev_chunk, prev_algo; 357 int prev_chunk_sectors;
358 int prev_algo;
357 short generation; /* increments with every reshape */ 359 short generation; /* increments with every reshape */
358 unsigned long reshape_checkpoint; /* Time we last updated 360 unsigned long reshape_checkpoint; /* Time we last updated
359 * metadata */ 361 * metadata */
@@ -424,8 +426,6 @@ struct raid5_private_data {
424 426
425typedef struct raid5_private_data raid5_conf_t; 427typedef struct raid5_private_data raid5_conf_t;
426 428
427#define mddev_to_conf(mddev) ((raid5_conf_t *) mddev->private)
428
429/* 429/*
430 * Our supported algorithms 430 * Our supported algorithms
431 */ 431 */