Skip to content

client: do not uninline data for read#47090

Merged
vshankar merged 1 commit intoceph:mainfrom
lxbsz:wip-56553
Sep 15, 2022
Merged

client: do not uninline data for read#47090
vshankar merged 1 commit intoceph:mainfrom
lxbsz:wip-56553

Conversation

@lxbsz
Copy link
Member

@lxbsz lxbsz commented Jul 14, 2022

We don't even ask for and to be sure that we have granted the Fw
caps when reading, we shouldn't write contents to Rados.

The bug was introduced by commit a0cb524
(client: Read inline data path)

Fixes: https://tracker.ceph.com/issues/56553
Signed-off-by: Xiubo Li xiubli@redhat.com

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

We don't even ask for and to be sure that we have granted the Fw
caps when reading, we shouldn't write contents to Rados.

The bug was introduced by commit a0cb524
(client: Read inline data path)

Fixes: https://tracker.ceph.com/issues/56553
Signed-off-by: Xiubo Li <xiubli@redhat.com>
@lxbsz lxbsz requested a review from a team July 14, 2022 01:28
@github-actions github-actions bot added the cephfs Ceph File System label Jul 14, 2022
@lxbsz lxbsz requested a review from mchangir July 14, 2022 01:29
Copy link
Contributor

@mchangir mchangir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish the initial committer had elaborated on the reasons about why the read path was also chosen for uninlining.

@lxbsz lxbsz requested a review from dragonylffly July 18, 2022 05:57
@lxbsz
Copy link
Member Author

lxbsz commented Jul 18, 2022

I wish the initial committer had elaborated on the reasons about why the read path was also chosen for uninlining.

Added the author of that commit to help review this.

@lxbsz
Copy link
Member Author

lxbsz commented Jul 18, 2022

@dragonylffly Could you help explain it ? Did we miss something important here ?
Thanks!

@ajarr
Copy link
Contributor

ajarr commented Aug 3, 2022

jenkins test windows

@ajarr ajarr added the needs-qa label Aug 3, 2022
@ajarr ajarr requested a review from vshankar August 4, 2022 12:44
@vshankar vshankar self-assigned this Aug 11, 2022
@vshankar
Copy link
Contributor

vshankar commented Sep 5, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System needs-qa

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants