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

A deadlock issue? #442

Open
ryancaicse opened this issue Sep 9, 2021 · 4 comments
Open

A deadlock issue? #442

ryancaicse opened this issue Sep 9, 2021 · 4 comments

Comments

@ryancaicse
Copy link

ryancaicse commented Sep 9, 2021

HI, developers, thank you for your checking. In the below code, there is only one lock is a loop. Should it be a bug?

sheepdog/lib/work.c

Lines 98 to 100 in 3ebe5ea

list_for_each_entry(wi, &wq_info_list, list) {
sd_mutex_lock(&wi->pending_lock);
}

Best,

@vtolstov
Copy link
Contributor

sheepdog unmaintained =( so yes this can cause deadlock but nobody fix it

@scream314
Copy link

@vtolstov Btw do you know why it was abandoned?

@vtolstov
Copy link
Contributor

developers does not have enough time

@vtolstov
Copy link
Contributor

I'm not have any interests on it too as I rewrite partially this code in golang.
Mostly you can try ceph o vitastore https://yourcmc.ru/wiki/Ceph_performance and https://yourcmc.ru/git/vitalif/vitastor/src/branch/master/README.md

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

No branches or pull requests

3 participants