Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.14.0
-
3
-
9223372036854775807
Description
lustre_grow_msg_v2() should move memory region even if new size for buffer has already been set. The use case is when it is called via mdt_dom_read_on_open() and req_capsule_server_grow() in order to put DoM file content into RMF_NIOBUF_INLINE field (RQF_LDLM_INTENT_OPEN request with ldlm_intent_open_server format for server part). Indeed, there is another field RMF_FILE_SECCTX (and soon another one for encryption context support) after RMF_NIOBUF_INLINE.
To achieve this, I will push a patch that adds an 'oldlen' parameter.
Attachments
Issue Links
- is related to
-
LU-12443 sanity test_271f: @@@@@@ FAIL: expect 1 READ RPC, occured
- Resolved