diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-07-18 19:09:21 -0700 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2002-07-18 19:09:21 -0700 |
| commit | 9347ddf5f84f95178c3bca58b5eef2f2afa75a63 (patch) | |
| tree | db730f650557ee7488d485c15036fa00026e9b7e /include/linux/raid | |
| parent | 82081640182e42249dfada1c5010d78ba168804a (diff) | |
[PATCH] MD - Add raid_disk field to rdev
Add raid_disk field to rdev
Also change find_rdev_nr to find based on position
in array (raid_disk) not position in superblock (number).
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/md_k.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 214a9163269a..18f89adb4b0c 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h @@ -159,6 +159,7 @@ struct mdk_rdev_s int alias_device; /* device alias to the same disk */ int faulty; /* if faulty do not issue IO requests */ int desc_nr; /* descriptor index in the superblock */ + int raid_disk; /* role of device in array */ }; typedef struct mdk_personality_s mdk_personality_t; |
