Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.4.0
-
3
-
7698
Description
Looking at the code in lod_initialize_objects() I found the following comment and code:
/*
* XXX: assertion is left for testing, to make
* sure we never process requests till configuration
* is completed. to be changed to -EINVAL
*/
lod_getref(&md->lod_ost_descs);
LASSERT(cfs_bitmap_check(md->lod_ost_bitmap, idx));
LASSERT(OST_TGT(md,idx));
LASSERTF(OST_TGT(md,idx)->ltd_ost, "idx %d\n", idx);
This should be replaced by proper error handling, in case of LOV EA corruption on disk, or OST removal.