Whamcloud - gitweb
LU-11690 lod: fix LBUG with wide striping 17/34917/2
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 2 May 2019 13:06:58 +0000 (09:06 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jun 2019 02:33:37 +0000 (02:33 +0000)
commit0eb19d11affd9f2f03c4af8140ccdfb8cb609b82
tree3231512c9bccbca342e90be3e68032a5b68709c6
parentbefb09ba10f6b801021ec563e976f21fd68cd8e7
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.

Lustre-change: https://review.whamcloud.com/33708
Lustre-commit: f1ca2c0bd059e3606225127e5ff72b4db9a1ed6e

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Id0240785792e7d4084ea6e53b44469a40e59043d
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34917
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lod/lod_lov.c