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

Modify lustre-rsync-test to use new changelog routines in test-framework

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.12.0
    • Fix Version/s: Lustre 2.12.0
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      The lustre rsync-test registers and deregisters changelog users in subroutines

        62 init_changelog() {
        63     CL_USER=$(do_facet $SINGLEMDS lctl --device $MDT0 changelog_register -n)
        64     echo $MDT0: Registered changelog user $CL_USER
        65     CL_USERS=$(( $(do_facet $SINGLEMDS lctl get_param -n \
        66         mdd.$MDT0.changelog_users | wc -l) - 2 ))
        67     [ $CL_USERS -ne 1 ] && \
        68         echo "Other changelog users present ($CL_USERS)"
        69 }
      …
        90 fini_changelog() {
        91     $LFS changelog_clear $MDT0 $CL_USER 0
        92     do_facet $SINGLEMDS lctl --device $MDT0 changelog_deregister $CL_USER
        93 }
      
      

      These subroutines should be updated to use changelog_register and changelog_deregister.

        Attachments

          Activity

            People

            • Assignee:
              jamesanunez James Nunez
              Reporter:
              jamesanunez James Nunez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: