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

Consider removing quotacheck compatibility code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.8.0
    • Lustre 2.8.0
    • 3
    • 16688

    Description

      Current versions of Lustre define cl_qchk_stat in the client_obd struct and is used by quotacheck with servers older than 2.4. In Lustre 2.8, tag 2.7.53 and above, a warning is printed to “please consider removing quotacheck compatibility code”. This comes from the following code in lustre/include/obd.h in the definition of the client_obd struct:

      …
      	/* used by quotacheck when the servers are older than 2.4 */
      	int                      cl_qchk_stat; /* quotacheck stat of the peer */
      #define CL_NOT_QUOTACHECKED 1   /* client->cl_qchk_stat init value */
      #if LUSTRE_VERSION_CODE >= OBD_OCD_VERSION(2, 7, 53, 0)
      #warning "please consider removing quotacheck compatibility code"
      #endif
      …
      

      Thus, we should consider removing quotacheck compatibility code.

      Attachments

        Issue Links

          Activity

            People

              niu Niu Yawei (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: