[LU-2925] OUT service of MDS needs bigger request buffer Created: 07/Mar/13  Updated: 15/Mar/13  Resolved: 15/Mar/13

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

Type: Bug Priority: Blocker
Reporter: Liang Zhen (Inactive) Assignee: Liang Zhen (Inactive)
Resolution: Fixed Votes: 0
Labels: HB

Severity: 3
Rank (Obsolete): 7026

 Description   

this patch (http://review.whamcloud.com/#change,4940) assumes that most MDS services only need 5K as request buffer size, the only exception is "regular" service which can get large request with LOV EA information.
However, OUT service of DNE can have request size up to 9K, which means we also need to define individual buffer size for OUT.



 Comments   
Comment by Liang Zhen (Inactive) [ 07/Mar/13 ]

wangdi, could you please comment how we calculate OUT request/reply buffer size? So I can put it into comment of patch, thanks

Comment by Di Wang [ 07/Mar/13 ]

Here is update request size

static const struct req_msg_field *mds_update_client[] = {
        &RMF_PTLRPC_BODY,
        &RMF_UPDATE,
};

and RMF_UPDATE is a EA data, with 8K size.

#define UPDATE_BUFFER_SIZE      8192

The update req includes all of updates from the create, which might include linkea (4K maxim), together with other updates, we set it to 8K now.

Comment by Liang Zhen (Inactive) [ 10/Mar/13 ]

patch is here: http://review.whamcloud.com/#change,5653

Comment by Peter Jones [ 15/Mar/13 ]

Landed for 2.4

Generated at Sat Feb 10 01:29:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.