[LU-11514] LNet Health: Cleanup NI states to make code more readable Created: 12/Oct/18  Updated: 06/Nov/18  Resolved: 06/Nov/18

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

Type: Bug Priority: Minor
Reporter: Amir Shehata (Inactive) Assignee: Amir Shehata (Inactive)
Resolution: Fixed Votes: 0
Labels: lnet-health

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Currently the NI state is a bit mask to accommodate recovery flags. Make recovery flags a separate field in the ni structure and make the states an enumeration.



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

Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33361
Subject: LU-11514 lnet: separate ni state from recovery
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e64d9a806042a24facedb611b47a92bbc27056ca

Comment by Gerrit Updater [ 23/Oct/18 ]

Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33445
Subject: LU-11514 lnet: separate ni state from recovery
Project: fs/lustre-release
Branch: multi-rail
Current Patch Set: 1
Commit: d4c1c60b4fbaca798488e5ea1668895626a75232

Comment by Gerrit Updater [ 06/Nov/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33361/
Subject: LU-11514 lnet: separate ni state from recovery
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2be10428ac22426c5868b699b6c0b80c040465dc

Comment by Peter Jones [ 06/Nov/18 ]

Landed for 2.12

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