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 #1

Updated by Venky Shankar about 1 year ago

  • Category set to Code Hygiene
  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v18.0.0
Actions #2

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58825: quincy: mds: make num_fwd and num_retry to __u32 added
Actions #3

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58826: pacific: mds: make num_fwd and num_retry to __u32 added
Actions #4

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #5

Updated by Xiubo Li 11 months ago

  • Status changed from Pending Backport to Resolved
Actions #6

Updated by Xiubo Li 9 months ago

  • Copied to Bug #62145: kclient: make num_fwd and num_retry to __u32 added
Actions

Also available in: Atom PDF