Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4847

cl_default_mds_easize might be 0 in mdc_intent_getattr_pack

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.6.0
    • 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.

      Attachments

        Activity

          People

            di.wang Di Wang
            di.wang Di Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: