Skip to content

Commit

Permalink
Merge pull request #54410 from mihalicyn/wip-63478-pacific
Browse files Browse the repository at this point in the history
pacific: MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid

Reviewed-by: Rishabh Dave <ridave@redhat.com>
  • Loading branch information
yuriw committed Nov 22, 2023
2 parents 91e6f18 + a8a5530 commit 3ed2cfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/messages/MClientRequest.h
Expand Up @@ -224,6 +224,9 @@ class MClientRequest final : public MMDSOp {
copy_from_legacy_head(&head, &old_mds_head);
head.version = 0;

head.ext_num_retry = head.num_retry;
head.ext_num_fwd = head.num_fwd;

/* Can't set the btime from legacy struct */
if (head.op == CEPH_MDS_OP_SETATTR) {
int localmask = head.args.setattr.mask;
Expand Down

0 comments on commit 3ed2cfb

Please sign in to comment.