summaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-06-18 08:46:47 +1000
committerNeilBrown <neilb@suse.de>2009-06-18 08:46:47 +1000
commitcdc2ae6d6a30df8fd92c5e300d0e3005e13eb6b0 (patch)
treef64a34e565e8b8c8e983b278d9f17162a0f76ecc /include/linux/raid
parent0ba459d26260d4d13346c76642f461b2bf607eef (diff)
downloadop-kernel-dev-cdc2ae6d6a30df8fd92c5e300d0e3005e13eb6b0.zip
op-kernel-dev-cdc2ae6d6a30df8fd92c5e300d0e3005e13eb6b0.tar.gz
md: fix some comments.
1/ Raid5 has learned to take over also raid4 and raid6 arrays. 2/ new_chunk in mdp_superblock_1 is in sectors, not bytes. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/md_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h
index 6ba830f..ffa2efb 100644
--- a/include/linux/raid/md_p.h
+++ b/include/linux/raid/md_p.h
@@ -232,7 +232,7 @@ struct mdp_superblock_1 {
__le64 reshape_position; /* next address in array-space for reshape */
__le32 delta_disks; /* change in number of raid_disks */
__le32 new_layout; /* new layout */
- __le32 new_chunk; /* new chunk size (bytes) */
+ __le32 new_chunk; /* new chunk size (512byte sectors) */
__u8 pad1[128-124]; /* set to 0 when written */
/* constant this-device information - 64 bytes */
OpenPOWER on IntegriCloud