diff options
author | Andre Noll <maan@systemlinux.org> | 2009-06-17 18:45:27 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-06-17 18:45:27 -0400 |
commit | 664e7c413f1e90eceb0b2596dd73a0832faec058 (patch) | |
tree | 72ea827a0f2a493766d3ea1fd14909c756aa4496 /drivers/md/md.h | |
parent | 9d8f0363623b3da12c43007cf77f5e1a4e8a5964 (diff) |
md: Convert mddev->new_chunk to sectors.
A straight-forward conversion which gets rid of some
multiplications/divisions/shifts. The patch also introduces a couple
of new ones, most of which are due to conf->chunk_size still being
represented in bytes. This will be cleaned up in subsequent patches.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index 5d78830043d0..e0a2b8e3985d 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -166,7 +166,8 @@ struct mddev_s | |||
166 | * If reshape_position is MaxSector, then no reshape is happening (yet). | 166 | * If reshape_position is MaxSector, then no reshape is happening (yet). |
167 | */ | 167 | */ |
168 | sector_t reshape_position; | 168 | sector_t reshape_position; |
169 | int delta_disks, new_level, new_layout, new_chunk; | 169 | int delta_disks, new_level, new_layout; |
170 | int new_chunk_sectors; | ||
170 | 171 | ||
171 | struct mdk_thread_s *thread; /* management thread */ | 172 | struct mdk_thread_s *thread; /* management thread */ |
172 | struct mdk_thread_s *sync_thread; /* doing resync or reconstruct */ | 173 | struct mdk_thread_s *sync_thread; /* doing resync or reconstruct */ |