Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
While exploring DoM feature, found out that the error returned by setstripe on dom file
are not useful some times. e.g. say when user try to do setstripe on dom file and
used mdt component value more than dom_stripesize. Then this will fail with invalid
input error. User do not have any clue on what went wrong and no hint in var log
messages as well.
As a work around, can we change this CDEBUG to CWARN (also for other similar error
checks in lod_verify_striping()) so that user will atleast get the hint in logs?
/* Check stripe size againts per-MDT limit */ if (stripe_size > d->lod_dom_max_stripesize) { CDEBUG(D_LAYOUT, "DoM component size " "%u is bigger than MDT limit %u, check " "dom_max_stripesize parameter\n", stripe_size, d->lod_dom_max_stripesize); RETURN(-EINVAL); }
Please suggestion, if this is ok, will create patch and push.
Attachments
Issue Links
- is related to
-
LU-10808 DoM: component end should align with dom_stripesize
- Resolved