[LU-12553] polling mode for changelog driver Created: 16/Jul/19  Updated: 15/Dec/21  Resolved: 08/Oct/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.12.3

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15373 changelog improvements tracking Open
is related to LU-12837 man pages for llapi_changelog_start()... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

enable polling mode in changelog driver when userspace doesn't need to worry about skipping already-seen records.



 Comments   
Comment by Joseph Gmitter (Inactive) [ 16/Jul/19 ]

https://review.whamcloud.com/#/c/35262/

Comment by Gerrit Updater [ 02/Aug/19 ]

Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/35262/
Subject: LU-12553 mdc: polling mode for changelog reader
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e215002883d5620f43615013452935da8e7e3f8c

Comment by Andreas Dilger [ 02/Aug/19 ]

TODO for this ticket:

  • add test case for CHANGELOG_FLAG_FOLLOW, preferably using llsom_sync since it also doesn't have a test case?
  • add man page llapi_changelog_in_buf.3
  • add man page llapi_changelog_start.3 that includes a description of the new CHANGELOG_FLAG_FOLLOW flag (unfortunately no such document exists today that could just be updated)
  • bonus points if you also add man pages for other llapi_changelog_* functions
Comment by Gerrit Updater [ 03/Oct/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36362
Subject: LU-12553 mdc: polling mode for changelog reader
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 19918355a5f71fd67edb4a836ad1e6352e83baf0

Comment by Andreas Dilger [ 03/Oct/19 ]

Still need the llapi_changelog_start.3 and llapi_changelog_in_buf.3 man pages, and a test case for llsom_sync using CHANGELOG_FLAG_FOLLOW.

Comment by Gerrit Updater [ 08/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36362/
Subject: LU-12553 mdc: polling mode for changelog reader
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: b950b8422bf8a507b30c66ba192d7633c5a5f4b7

Comment by Andreas Dilger [ 08/Oct/19 ]

I've filed LU-12837 to track the man pages and test case.

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