Whamcloud - gitweb
LU-12852 pfl: restrict the stripe count correctly 12/37512/5
authorEmoly Liu <emoly@whamcloud.com>
Fri, 6 Dec 2019 02:08:07 +0000 (10:08 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 1 May 2020 04:33:07 +0000 (04:33 +0000)
commit454771e39c556ac5a4b290d2bbf603dc7f308fdf
tree9105459b926fc27ee04205edd731c53655e5a639
parentc1ff1110d090686833196918ccf289cf62a280d6
LU-12852 pfl: restrict the stripe count correctly

In function lod_get_stripe_count(), when restricting the stripe
count to the maximum xattr size, the xattr overhead should be
taken into count correctly.

Lustre-change: https://review.whamcloud.com/36947
Lustre-commit: 6dc37759cfb22727ac5d776c38b72e8638563fd8

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Ief548e47ce4d375f2e189860ccfe05d0f3c7e890
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37512
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lod/lod_qos.c