[LU-12513] Address YAML limitations Created: 05/Jul/19  Updated: 17/Jul/19  Resolved: 17/Jul/19

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

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11850 Relocating /proc/fs/lustre/ost to /sy... In Progress
is related to LU-6081 hsm: add file migrate support Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

While moving the netlink work to using YAML I found a limitation to cYAML. Currently its cy_valueint is limited to 32 bit values. In some cases we need 64 bit integers. The second problem brought up by Ben Evans was that the Lustre YAML implementation doesn't handle correctly at all is the YAML_NO_TOKEN token which it takes as an error.



 Comments   
Comment by Gerrit Updater [ 17/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35423/
Subject: LU-12513 utils: change cy_valueint to 64 bits
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0c24502450e25298b6704dbe1b0a6d4005467c3c

Comment by Gerrit Updater [ 17/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35428/
Subject: LU-12513 utils: add handling YAML_NO_TOKEN
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 494d4b6b73dd0c1aa751c77f5830616415dcb97b

Comment by James A Simmons [ 17/Jul/19 ]

This addresses the issues Ben and I ran into.

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