Support --grow --bitmap=internal
Adding a filebase bitmap is not yet supported, and this code is still under development.
Signed-off-by: Neil Brown
### Diffstat output
./Grow.c | 83 ++++++++++++++++++++++++++++++++++++++++++
./Manage.c | 4 ++
./mdadm.c | 16 ++++++--
./mdadm.h | 2 +
./super0.c | 118 +------------------------------------------------------------
5 files changed, 103 insertions(+), 120 deletions(-)
diff ./Grow.c~current~ ./Grow.c
xxx
Description...
Signed-off-by: Neil Brown
### Diffstat output
./super0.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 58 insertions(+), 1 deletion(-)
diff ./super0.c~current~ ./super0.c
Support --grow --bitmap=internal
Adding a filebase bitmap is not yet supported, and
this code is still under development.
Signed-off-by: Neil Brown
### Diffstat output
./Grow.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./Manage.c | 4 ++
./mdadm.c | 16 ++++++++---
./mdadm.h | 2 +
4 files changed, 101 insertions(+), 4 deletions(-)
diff ./Grow.c~current~ ./Grow.c
Add support for internal bitmaps
For version 0.90 superblocks, an internal bitmap can be specified at create.
Signed-off-by: Neil Brown
### Diffstat output
./Create.c | 21 ++++++++++++
./bitmap.c | 18 +++++++++--
./md_p.h | 2 +
./mdadm.c | 12 ++++++-
./mdadm.h | 4 +-
./super0.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
6 files changed, 147 insertions(+), 9 deletions(-)
diff ./Create.c~current~ ./Create.c
2.0-devel-1 release
Signed-off-by: Neil Brown
### Diffstat output
./ChangeLog | 7 +++++--
./ReadMe.c | 2 +-
./bitmap.h | 2 +-
./inventory | 5 +++++
./mdadm.8 | 32 +++++++++++++++++++++++++++++++-
./mdadm.spec | 2 +-
6 files changed, 44 insertions(+), 6 deletions(-)
diff ./ChangeLog~current~ ./ChangeLog
Fix a test that will allow arrays with bitmaps to be assembled.
Signed-off-by: Neil Brown
### Diffstat output
./Assemble.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff ./Assemble.c~current~ ./Assemble.c
Make sure to seed the random number generator for uuids
Signed-off-by: Neil Brown
### Diffstat output
./mdadm.c | 2 ++
1 files changed, 2 insertions(+)
diff ./mdadm.c~current~ ./mdadm.c
Use ADD_NEW_DISK to hot-add to non-version-0 arrays
Signed-off-by: Neil Brown
### Diffstat output
./Manage.c | 71 ++++++++++++++++++++++++++++++++++++++++++-------------------
./super1.c | 16 ++++++++++++-
2 files changed, 65 insertions(+), 22 deletions(-)
diff ./Manage.c~current~ ./Manage.c
Fix create bug which initialised superblocks wrongly.
Description...
Signed-off-by: Neil Brown
### Diffstat output
./Create.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff ./Create.c~current~ ./Create.c
Initial bitmap support
Signed-off-by: Neil Brown
### Diffstat output
./Assemble.c | 7 +
./Build.c | 34 ++++++
./Create.c | 24 ++++
./Makefile | 8 -
./ReadMe.c | 23 +++-
./bitmap.c | 315 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./bitmap.h | 273 +++++++++++++++++++++++++++++++++++++++++++++++++++
./md_u.h | 7 +
./mdadm.c | 72 ++++++++++++-
./mdadm.h | 15 ++
10 files changed, 765 insertions(+), 13 deletions(-)
diff ./Assemble.c~current~ ./Assemble.c
Change "dirty" status to "active"
Description...
Signed-off-by: Neil Brown
### Diffstat output
./ChangeLog | 3 +++
./super1.c | 1 +
2 files changed, 4 insertions(+)
diff ./ChangeLog~current~ ./ChangeLog
Wasn't initialising spare disks on create.
Signed-off-by: Neil Brown
### Diffstat output
./super0.c | 1 +
1 files changed, 1 insertion(+)
diff ./super0.c~current~ ./super0.c
A couple off minor fixed in multi-format management.
Signed-off-by: Neil Brown
### Diffstat output
./mdadm.c | 1 +
./util.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff ./mdadm.c~current~ ./mdadm.c
Release 1.8.1 after some man page updates and other fixes.
Signed-off-by: Neil Brown
### Diffstat output
./Create.c | 4 +--
./Makefile | 2 -
./md.4 | 71 ++++++++++++++++++++++++++++++++++++++++++---------------
./mdadm.8 | 22 ++++++++++++++++-
./mdadm.spec | 2 -
./mdassemble.c | 2 -
./super0.c | 1
./super1.c | 35 ++++++++++++++++++++++------
./util.c | 27 +++++++++++++++++++++
9 files changed, 134 insertions(+), 32 deletions(-)
diff ./Create.c~current~ ./Create.c
super1
Signed-off-by: Neil Brown
Signed-off-by: Neil Brown
### Diffstat output
./Assemble.c | 38 +--
./Create.c | 47 ++-
./Detail.c | 18 -
./Examine.c | 27 +-
./Grow.c | 18 -
./Kill.c | 12
./Makefile | 4
./Query.c | 10
./config.c | 10
./mdadm.c | 19 -
./mdadm.h | 30 +-
./super0.c | 44 +++
./super1.c | 720 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./util.c | 62 ++---
14 files changed, 910 insertions(+), 149 deletions(-)
diff ./Assemble.c~current~ ./Assemble.c
Add a 'super-switch' so that different format superblocks can be used.
This includes:
adding --metadata= option to choose metadata format
adding metadata= word to config file.
Signed-off-by: Neil Brown
### Diffstat output
./Assemble.c | 36 +++++++++++++++++-------------
./Create.c | 8 +++---
./Detail.c | 17 ++++++++------
./Examine.c | 22 ++++++++++++------
./Grow.c | 19 ++++++++++------
./Kill.c | 17 ++++++++++----
./Query.c | 11 ++++++---
./ReadMe.c | 3 +-
./config.c | 11 +++++++++
./mdadm.c | 43 +++++++++++++++++++++++++++++++-----
./mdadm.h | 42 +++++++++++++++++++++--------------
./super0.c | 62 ++++++++++++++++++++++++++++++++++++++++------------
./util.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++-------------
13 files changed, 262 insertions(+), 99 deletions(-)
diff ./Assemble.c~current~ ./Assemble.c
Separate sueprblock handling into separate file
Signed-off-by: Neil Brown
### Diffstat output
./Assemble.c | 241 +++++++++-----------------
./Create.c | 95 ++++++----
./Detail.c | 40 +---
./Examine.c | 180 ++-----------------
./Grow.c | 74 +++-----
./Kill.c | 30 ---
./Makefile | 5
./Query.c | 49 +----
./ReadMe.c | 1
./mdadm.h | 28 ++-
./super0.c | 539 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
./util.c | 158 +----------------
12 files changed, 824 insertions(+), 616 deletions(-)
diff ./Assemble.c~current~ ./Assemble.c