Whamcloud - gitweb
LU-12852 pfl: restrict the stripe count correctly 47/36947/5
authorEmoly Liu <emoly@whamcloud.com>
Fri, 6 Dec 2019 02:08:07 +0000 (10:08 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 03:59:37 +0000 (03:59 +0000)
commit6dc37759cfb22727ac5d776c38b72e8638563fd8
treeb842c57333b728030476ae765578d636d1cd6410
parentaf2d3ac30eafead6b47c5db20d76433c091d89de
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.

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