[LU-16508] Set a policy for lnet_family and lustre_family Created: 27/Jan/23  Updated: 09/May/23  Resolved: 09/May/23

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

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Linux v6.1-rc2-63-g4fa86555d1cd
genetlink: piggy back on resv_op to default to a reject policy

Changes the behavior of struct genl_family to a default policy of NLA_REJECT if one is not provided.

Provide an appropriate policy.



 Comments   
Comment by Gerrit Updater [ 27/Jan/23 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49800
Subject: LU-16508 netlink: Set a policy for [lnet|lustre]_family
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7c22fbccaaafec1f40d2effa560d8d5335e5f849

Comment by James A Simmons [ 27/Jan/23 ]

Is this really a hard requirement? 

Comment by Shaun Tancheff [ 27/Jan/23 ]

Unfortunately lctl conf_param is broken when no policy is provided.

Comment by Gerrit Updater [ 09/May/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49800/
Subject: LU-16508 netlink: resv_start_op for [lnet|lustre]_family
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 14cc87902d07d85a4025049ad8b120092837c9ff

Comment by Peter Jones [ 09/May/23 ]

Landed for 2.16

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