You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... without either being able to write all of the keys up front, or otherwise having to buffer all of the serialized values for attr_vals before writing attrmask followed by that data on end(). It would be significantly more memory efficient to serialize all the keys followed by all of the values, but as the documentation for serialize_entry() suggests, the expectation is that formats serialize keys and values together, which does not necessarily hold.
The text was updated successfully, but these errors were encountered:
While writing an XDR serializer, I found that I was unable to implement
SerializeMap
- with ints as keys - to support NFSv4'sstruct fattr4
...... without either being able to write all of the keys up front, or otherwise having to buffer all of the serialized values for
attr_vals
before writingattrmask
followed by that data onend()
. It would be significantly more memory efficient to serialize all the keys followed by all of the values, but as the documentation forserialize_entry()
suggests, the expectation is that formats serialize keys and values together, which does not necessarily hold.The text was updated successfully, but these errors were encountered: