[LU-6298] sanity-hsm should shutdown CDTs in parallel Created: 26/Feb/15  Updated: 09/Nov/22  Resolved: 09/Dec/15

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

Type: Bug Priority: Major
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: hsm, test

Issue Links:
Related
Severity: 3
Rank (Obsolete): 17638

 Description   

Shutting down a copytool (by writing shutdown to mdt.lustre-MDT0000.hsm_control and waiting for mdt.lustre-MDT0000.hsm_control to contain stopped) takes about 8 seconds. In sanity-hsm.sh's copytool_cleanup() this is done is series for each MDT. Since copytool_cleanup() is called 95 times (with MDSCOUNT=4) this means that we waste about 95 * 3 * 8 == 2280 seconds per test run when compared to parallel shutdown.



 Comments   
Comment by Gerrit Updater [ 26/Feb/15 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/13901
Subject: LU-6298 hsm: shutdown HSM CDTs in parallel
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7fbe0e44d9f3124e6614a450a22027b71a5dd502

Comment by Gerrit Updater [ 09/Dec/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13901/
Subject: LU-6298 hsm: shutdown HSM CDTs in parallel
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: eaf3353fce3384e21b1310c2feb847a7c01eb131

Comment by Peter Jones [ 09/Dec/15 ]

Landed for 2.8

Generated at Sat Feb 10 01:59:00 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.