[LU-11653] hsm: copytool registration should trigger request dispatching from the coordinator Created: 10/Nov/18  Updated: 05/Aug/20  Resolved: 19/Dec/18

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

Type: Bug Priority: Minor
Reporter: CEA Assignee: Quentin Bouget
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11709 sanity-hsm test 260c fails with 'requ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When the coordinator wakes up, it checks that something worth its attention has happened, otherwise it simply goes back to sleep.

It is possible for the coordinator to have several waiting requests in its llog but no copytool to process them. In this situation, when a copytool registers to the coordinator, the coordinator should wake up and try to schedule requests.

The fix is pretty simple, we should call mdt_hsm_cdt_event() from mdt_hsm_agent_register().



 Comments   
Comment by Gerrit Updater [ 13/Nov/18 ]

Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/33649
Subject: LU-11653 hsm: copytool registration does not wake cdt
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 528839e718fa820d72a4f2eb081c7502461f9454

Comment by Gerrit Updater [ 28/Nov/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33649/
Subject: LU-11653 hsm: copytool registration wakes the coordinator
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e7d5c1681c0767e07d2280fa58cf39fc1ae8df2a

Comment by Joseph Gmitter (Inactive) [ 19/Dec/18 ]

Patch has landed for 2.12.0

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