Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
3
-
13358
Description
After http://review.whamcloud.com/6339 is landed, mdc will rely on the cl_default_mds_mdsize, which might be zero in some cases, especially for mdc, which is connected to non-zero MDT.
For example if client tries to access a remote striped directory, which is located on MDT2, and cl_default_mds_mdsize on mdc-MDT2 is still zero(because it still not get default mdsize from MDS2 yet, then MDT would not return stripe information for this striped dir at all. Then this dir will be mis-regarded as a non-striped dir.
So we may need check whether cl_default_mds_mdsize is zero in mdc_intent_getattr_pack, if it is 0, it might use cl_max_mds_mdsize instead.