Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: brick process is getting SIGSEGV during inode_unref #4303

Open
wants to merge 1 commit into
base: release-11
Choose a base branch
from

Conversation

mohit84
Copy link
Contributor

@mohit84 mohit84 commented Feb 1, 2024

The brick process is getting crashed due to stack overflow while unref namespace inode, the ns inode was introduced by the patch ((#1763)

Solution: __inode_destroy is calling inode_unref that is again calling inode_unref become a recursive call and eventually a brick process is getting crashed. To avoid a crash for namespace inode call only __inode_ref.

Fixes: #4295
Change-Id: If5deb06b726a5e7dfedd2784bddcef81e6e5d7d9
Signed-off-by: Mohit Agrawal moagrawa@redhat.com
(Cherry picked from commit 80ecbba)
(Reviewed on upstream link #4302)

Fixes: #4295
Change-Id: If5deb06b726a5e7dfedd2784bddcef81e6e5d7d9

The brick process is getting crashed due to stack overflow
while unref namespace inode, the ns inode was introduced by
the patch ((gluster#1763)

Solution: __inode_destroy is calling inode_unref that is again
calling inode_unref become a recursive call and eventually a
brick process is getting crashed. To avoid a crash for namespace
inode call only __inode_ref.

> Fixes: gluster#4295
> Change-Id: If5deb06b726a5e7dfedd2784bddcef81e6e5d7d9
> Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
> (Cherry picked from commit 80ecbba)
> (Reviewed on upstream link gluster#4302)

Fixes: gluster#4295
Change-Id: If5deb06b726a5e7dfedd2784bddcef81e6e5d7d9
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
@mohit84
Copy link
Contributor Author

mohit84 commented Feb 1, 2024

/run regression

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

Successfully merging this pull request may close these issues.

None yet

1 participant