Whamcloud - gitweb
LU-12960 lod: don't set index for 2nd stripe if specific 35/36735/4
authorLai Siyao <lai.siyao@whamcloud.com>
Sat, 7 Sep 2019 09:38:46 +0000 (17:38 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 07:26:34 +0000 (07:26 +0000)
commite7d91d9b8cf291d638857b6bd904469b46d1273a
tree082b44097d26635bb8a968d0f5fb53a9dd3878fa
parent12333c1fecc00ed67597f189715a68cbfea7b287
LU-12960 lod: don't set index for 2nd stripe if specific

When MDTs are specific, don't set index for the second stripe
allocation, otherwise it's not created on specific MDT.

Add sanity 31q.

Fixes: c1d0a355a6 ("LU-12624 lod: alloc dir stripes by QoS")
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I415be0fa7c6e702ec72dcaac88bba55290463d44
Reviewed-on: https://review.whamcloud.com/36735
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_object.c
lustre/tests/sanity.sh