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

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

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • Lustre 2.12.0
    • 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

          [LU-10971] Modify lustre-rsync-test to use new changelog routines in test-framework
          pjones Peter Jones added a comment -

          Landed for 2.12

          pjones Peter Jones added a comment - Landed for 2.12

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32208/
          Subject: LU-10971 tests: use changelog routines in lustre-rsync-test
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 5cc2da46349bc38075d6a99e65a7efff2812ebc2

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32208/ Subject: LU-10971 tests: use changelog routines in lustre-rsync-test Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5cc2da46349bc38075d6a99e65a7efff2812ebc2

          James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/32208
          Subject: LU-10971 tests: use changelog routines in lustre-rsync-test
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 26e2ffa1d3468c598e22995e9df8bf0811ea353d

          gerrit Gerrit Updater added a comment - James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/32208 Subject: LU-10971 tests: use changelog routines in lustre-rsync-test Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 26e2ffa1d3468c598e22995e9df8bf0811ea353d

          People

            jamesanunez James Nunez (Inactive)
            jamesanunez James Nunez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: