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

ceph-handler: replace fuser by /proc/net/unix (bp #4059) #4094

Merged
merged 1 commit into from Jun 12, 2019

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 12, 2019

This is an automated backport of pull request #4059 done by Mergify.io

We're using fuser command to see if a process is using a ceph unix
socket file. But the fuser command runs through every PID present in
/proc/<PID> to see if one of them is using the file.
On a system running thousands processes, the fuser command can take
a long time to finish.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717011

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit da9891d)
@guits guits merged commit 95f3908 into stable-3.2 Jun 12, 2019
@guits guits deleted the mergify/bp/stable-3.2/pr-4059 branch June 12, 2019 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants