Whamcloud - gitweb
LU-11690 lod: fix LBUG with wide striping 08/33708/14
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 2 May 2019 13:06:58 +0000 (09:06 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 May 2019 06:05:12 +0000 (06:05 +0000)
commitf1ca2c0bd059e3606225127e5ff72b4db9a1ed6e
treed73969dc8d700cbef1d59dbaf95d883780bdc7f9
parentcb82520d2474ab57685b32464ff4b25e05dfbef9
LU-11690 lod: fix LBUG with wide striping

When striping extremely widely (~1600+ stripes), we reach
more than half of the theoretical limit of layout size,
and LBUG.

It is also possible to trigger this assert with
multi-component PFL files, where all the components are
below the stripe count limit, but together they exceed it.

PFL makes asserting based on LOV_MAX_STRIPE_COUNT
unworkable, so just remove the assert.  Further work is
planned to match up maximum allowed layout size with
the real maximum EA size.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Id0240785792e7d4084ea6e53b44469a40e59043d
Reviewed-on: https://review.whamcloud.com/33708
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lod/lod_lov.c