[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 |
| Comment by Gerrit Updater [ 07/Jun/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32208/ |
| Comment by Peter Jones [ 07/Jun/18 ] |
|
Landed for 2.12 |