Bug ID | 909719 |
---|---|
Summary | bcache: livelock in btree lock |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | 13.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-maintainers@forge.provo.novell.com |
Reporter | jschmid@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
This report is from upstream. This livelock might happen when we causes a huge number of cache misses simultaneously. This is a fix from upstream. This commit will try to take write btree->lock if it encounters a race when we traverse btree. Although it sacrifice the scalability but we can ensure that only one can modify the btree. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>