Skip to content

client: retry readdir if dir is invalidated#58216

Merged
vshankar merged 1 commit intoceph:mainfrom
hit1943:56288_fix
Jul 15, 2024
Merged

client: retry readdir if dir is invalidated#58216
vshankar merged 1 commit intoceph:mainfrom
hit1943:56288_fix

Conversation

@hit1943
Copy link

@hit1943 hit1943 commented Jun 24, 2024

cephfs: fix issues/56288

fix a crash in cephfs client:when doing a readdir operation in _readdir_cache_cb, the memory that dir pointed maybe already freeed

Fixes: https://tracker.ceph.com/issues/56288
Signed-off-by: Tod Chen chentao.2022@bytedance.com

@vshankar

@github-actions github-actions bot added the cephfs Ceph File System label Jun 24, 2024
…sed freed memory after the _getattr operation returned

    Fixes: https://tracker.ceph.com/issues/56288
    Signed-off-by: Tod Chen <chentao.2022@bytedance.com>
@hit1943 hit1943 marked this pull request as draft June 24, 2024 05:22
@hit1943 hit1943 marked this pull request as ready for review June 24, 2024 05:26
@vshankar vshankar requested a review from a team June 25, 2024 04:35
@vshankar vshankar changed the title cephfs: fix issues/56288 client: retry readdir if dir is invalidated Jun 25, 2024
@vshankar
Copy link
Contributor

jenkins retest this please

Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

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

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

Labels

cephfs Ceph File System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants