gluster / glusterfs

Gluster Filesystem : Build your distributed storage in minutes
https://www.gluster.org
GNU General Public License v2.0
4.51k stars 1.07k forks source link

core: brick process is getting SIGSEGV during inode_unref #4302

Closed mohit84 closed 3 months ago

mohit84 commented 3 months ago

The brick process is getting crashed due to stack overflow while unref namespace inode, the ns inode was introduced by the patch ((https://github.com/gluster/glusterfs/pull/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

mohit84 commented 3 months ago

/run regression

mohit84 commented 3 months ago

recheck smoke