[LU-14138] Move more members in PTLRPC request into pill Created: 17/Nov/20  Updated: 14/Jan/22  Resolved: 09/Jun/21

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

Type: Improvement Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-10938 Metadata writeback cache support Open
is related to LU-14139 batched statahead processing Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Many fields in data struct @ptlrpc_request can be moved into the data struct @req_capsule:
/** Request message - what client sent */
struct lustre_msg *rq_reqmsg;
/** Reply message - server response */
struct lustre_msg *rq_repmsg;
/** Fields that help to see if request and reply were swabbed or not */
__u32 rq_req_swab_mask;
__u32 rq_rep_swab_mask;

After this data structure reconstructing, req_capsule can be more common usage and it makes pack and unpack sub request for the coming batch metadata processing more easily.



 Comments   
Comment by Gerrit Updater [ 17/Nov/20 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/40669
Subject: LU-14138 ptlrpc: move more members in PTLRPC request into pill
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e66e373ec5b74490efdc4ec4a9fa8b5da69a7549

Comment by Gerrit Updater [ 08/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40669/
Subject: LU-14138 ptlrpc: move more members in PTLRPC request into pill
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f75d2a1fc9b17b384bbcbc13bcb80ba10412cf29

Comment by Peter Jones [ 09/Jun/21 ]

Landed for 2.15

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