[LU-10971] Modify lustre-rsync-test to use new changelog routines in test-framework Created: 30/Apr/18  Updated: 07/Jun/18  Resolved: 07/Jun/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0
Fix Version/s: Lustre 2.12.0

Type: Improvement Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: tests

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.



 Comments   
Comment by Gerrit Updater [ 30/Apr/18 ]

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

Comment by Gerrit Updater [ 07/Jun/18 ]

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

Comment by Peter Jones [ 07/Jun/18 ]

Landed for 2.12

Generated at Sat Feb 10 02:39:49 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.