Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Switch workers to system_unbound_wq. #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

byo
Copy link

@byo byo commented Dec 8, 2017

This patch does greatly reduce the probability of
kernel hang caused by memory reclamation executed
through flashcache's code.

The probability is reduced because io required by memory
reclamation can use thread spawned on different cores.

The correct patch would be to create dedicated workqueue
with WQ_MEM_RECLAIM but this patch is relatively unintruisive
and does provably fix the issue in prodiction environments.

Signed-off-by: Bartłomiej Święcki bartlomiej.swiecki@corp.ovh.com

This patch does greatly reduce the probability of
kernel hang caused by memory reclamation executed
through flashcache's code.

The probability is reduced because io required by memory
reclamation can use thread spawned on different cores.

The correct patch would be to create dedicated workqueue
with WQ_MEM_RECLAIM but this patch is relatively unintruisive
and does provably fix the issue in prodiction environments.

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants