[LU-10855] llog cleanups Created: 27/Mar/18  Updated: 28/Aug/18  Resolved: 28/Aug/18

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

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-10699 replace HSM actions llog with an index Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

There is no need to implement llog_cancel() as an llog operation. (We do not need to have a lop_cancel member in struct llog_operations. This method only used by changelogs now and the prototype is abused to make it work.

With lop_cancel removed, all uses of hsm_actions_logops, changelog_orig_logops, and osp_mds_ost_orig_logops can be replaces with llog_common_cat_ops.

LLOG_AGENT_ORIG_CTXT should be called LLOG_ACTIONS_ORIG_CTXT.

LLOG_AGENT_ORIG_CTXT setup and cleanup should be moved from the MDD layer to the MDT layer. Then there will be no need for the MDT to clone this context.



 Comments   
Comment by Gerrit Updater [ 27/Mar/18 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/31795
Subject: LU-10855 llog: remove llog_cancel()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 905a8aa132d708519242dac735c078225e9192e9

Comment by Gerrit Updater [ 28/Mar/18 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/31812
Subject: LU-10855 llog: use llog_common_cat_ops
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 596cdd663fbee690ba3bcfc46115fd0315eadf16

Comment by Gerrit Updater [ 30/Apr/18 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/32202
Subject: LU-10855 llog: remove obsolete llog handlers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 963bc89af7e998d3bfab23710cd9c0f329a928e8

Comment by Gerrit Updater [ 17/May/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31795/
Subject: LU-10855 llog: remove llog_cancel()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 86cb7e80f2a573bb23a10ee9eebe3c7f525bd2d0

Comment by Gerrit Updater [ 29/May/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32202/
Subject: LU-10855 llog: remove obsolete llog handlers
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 85011d372dfb50500ba5eef3f2fa79e5d6507539

Comment by Gerrit Updater [ 06/Jun/18 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32651
Subject: LU-10855 ptlrpc: remove obsolete RPC opcodes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7d3b46be031609ad657230677a31719c6fca78c7

Comment by Gerrit Updater [ 06/Jun/18 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32653
Subject: LU-10855 ptlrpc: assign specific values to MGS opcodes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a1903b4d49bcf536afd3b3c375eae96de45826df

Comment by Gerrit Updater [ 06/Jun/18 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/32654
Subject: LU-10855 ptlrpc: remove obsolete LLOG_ORIGIN_* RPCs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 553446963306c42f9af96604ddded80d63986450

Comment by Gerrit Updater [ 18/Jul/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32651/
Subject: LU-10855 ptlrpc: remove obsolete OBD RPC opcodes
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7d89a5b8aefc5417fa04c03ab15b447cfde01e9b

Comment by Gerrit Updater [ 18/Jul/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32653/
Subject: LU-10855 ptlrpc: assign specific values to MGS opcodes
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 12c5a26609f12b36dda0bfb33e27cc03f805155d

Comment by Gerrit Updater [ 18/Jul/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32654/
Subject: LU-10855 ptlrpc: remove obsolete LLOG_ORIGIN_* RPCs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 830ce1b10f3a5d3536e5ec0a9ef87fe739a509a2

Comment by Gerrit Updater [ 28/Aug/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/31812/
Subject: LU-10855 llog: use llog_common_cat_ops
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3e61bbbcd4baaac76a67093404b60810261812e0

Comment by Peter Jones [ 28/Aug/18 ]

Landed for 2.12

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