Hi Lidong, On 3/13/20 10:05 AM, Lidong Zhong wrote:
Signed-off-by: Lidong Zhong <lidong.zhong@xxxxxxxx> --- Detail.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Detail.c b/Detail.c index 832485f..39fce29 100644 --- a/Detail.c +++ b/Detail.c @@ -468,7 +468,9 @@ int Detail(char *dev, struct context *c) if (ioctl(fd, GET_BITMAP_FILE, &bmf) == 0 && bmf.pathname[0]) { printf(" Intent Bitmap : %s\n", bmf.pathname); printf("\n"); - } else if (array.state & (1<<MD_SB_BITMAP_PRESENT)) + } else if (array.state & (1<<MD_SB_CLUSTERED)) + printf(" Intent Bitmap : Clustered\n\n");
Better to use "Internal (Clustered)" since it is a special internal bitmap. Anyway, Acked-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx> Cheers, Guoqing