[LU-14054] add option to ofd_access_log_reader to exit on close of last log Created: 20/Oct/20  Updated: 26/Nov/20  Resolved: 26/Nov/20

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

Type: Improvement Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: hotpools

Issue Links:
Cloners
Rank (Obsolete): 9223372036854775807

 Description   

When all OSTs are unmounted, ofd_access_log_reader will reach the end of each log and close it. Then it will wait on the control device for log creation. Implement an option to exit when all logs have gone away and discovery doesn't find any new logs. This will allow for more graceful OFD module unloading.



 Comments   
Comment by Gerrit Updater [ 20/Oct/20 ]

John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40312
Subject: LU-14054 utils: add --exit-on-close to ofd_access_log_reader
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1f82abd8f92d46a6131bfebfa87d488b7d6d1498

Comment by Gerrit Updater [ 26/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40312/
Subject: LU-14054 utils: add --exit-on-close to ofd_access_log_reader
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 75b5f5fd9ff1369b0aee95bdf1d8737d1443ccf1

Comment by Peter Jones [ 26/Nov/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:06:27 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.