commit | b347af816ad2086c1dacf9f74973b82f83e877be | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Thu Aug 11 17:14:45 2016 -0700 |
committer | Shaohua Li <shli@fb.com> | Tue Aug 16 18:34:15 2016 -0700 |
tree | 64663c861e4f6504ecd506711f11dc63af9e4eb3 | |
parent | 11367799f3d12a5074c4a3c0fa4ea8da2a21a2a4 [diff] |
md: do not count journal as spare in GET_ARRAY_INFO GET_ARRAY_INFO counts journal as spare (spare_disks), which is not accurate. This patch fixes this. Reported-by: Yi Zhang <yizhan@redhat.com> Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>