During huge backup file read write operations holds the CPU which
leads to thread starvation, and cause cinder backup service to
report down, as DB operations are impacted.
Proposed changes are to run CPU and file sensitive operations like
read, write, compress, decompress on a native thread.
Reviewed: https:/ /review. openstack. org/537003 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=60bd878c376 1b69311ef2732d3 7aaeeb3929a8e3
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 60bd878c3761b69 311ef2732d37aae eb3929a8e3
Author: Chhavi Agarwal <email address hidden>
Date: Tue Nov 7 07:05:49 2017 -0500
Run backup-restore operations on native thread
During huge backup file read write operations holds the CPU which
leads to thread starvation, and cause cinder backup service to
report down, as DB operations are impacted.
Proposed changes are to run CPU and file sensitive operations like
read, write, compress, decompress on a native thread.
Change-Id: I1f1d9c0d6e3f04 f1ecd5ef7c5d813 005ee116409 95e7df82477ae64 00f693af14)
Closes-Bug: #1692775
Co-Authored-By: Gorka Eguileor <email address hidden>
(cherry picked from commit dd556fa755adca1