Project

General

Profile

Actions

Bug #57854

closed

mds: make num_fwd and num_retry to __u32

Added by Xiubo Li over 3 years ago. Updated 8 months ago.

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

0%

Source:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-2437-g8ce318517df
Released In:
v18.2.0~480
Upkeep Timestamp:
2025-07-12T23:39:16+00:00

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 3 years 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 Upkeep Bot about 3 years ago

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

Updated by Upkeep Bot about 3 years ago

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

Updated by Xiubo Li almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #6

Updated by Xiubo Li over 2 years ago

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

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 8ce318517df9366e26b01a960779ddbd6e7628b7
  • Fixed In set to v18.0.0-2437-g8ce318517df
  • Released In set to v18.2.0~480
  • Upkeep Timestamp set to 2025-07-12T23:39:16+00:00
Actions

Also available in: Atom PDF