Project

General

Profile

Actions

Bug #57854

closed

mds: make num_fwd and num_retry to __u32

Added by Xiubo Li over 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Code Hygiene
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The num_fwd in MClientRequestForward is int32_t, while the num_fwd
in ceph_mds_request_head is __u8. This is buggy when the num_fwd
is larger than 256 it will always be truncate to 0 again. But the
client couldn't recoginize this.


Related issues 3 (1 open2 closed)

Copied to CephFS - Backport #58825: quincy: mds: make num_fwd and num_retry to __u32ResolvedXiubo LiActions
Copied to CephFS - Backport #58826: pacific: mds: make num_fwd and num_retry to __u32ResolvedXiubo LiActions
Copied to Linux kernel client - Bug #62145: kclient: make num_fwd and num_retry to __u32Fix Under ReviewXiubo Li

Actions
Actions

Also available in: Atom PDF