[LU-10750] mdd_close() should check if changelogs are enabled Created: 01/Mar/18  Updated: 07/Jan/19  Resolved: 12/Mar/18

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

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

Issue Links:
Related
is related to LU-10738 mdd: LBUG() from changelog_store_data... Resolved
is related to LU-9727 Lustre Audit with Changelogs Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In the normal path of mdd_close() we create a transaction and declare a changelog record for close even if changelogs are disabled.

There are also several places where we declare changelog records that may not be created depending on the changelog mask.



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

John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/31477
Subject: LU-10750 mdd: declare changelogs only when enabled
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 73dfee68956b90366ba773d5c7959e86e06ad7d5

Comment by Gerrit Updater [ 12/Mar/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31477/
Subject: LU-10750 mdd: declare changelogs only when enabled
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e8bafb17ed102626adc6ae0806279f95c8cdd2b3

Comment by Peter Jones [ 12/Mar/18 ]

Landed for 2.11

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