a8e25b858d
when we need to start or restart manila share service, will call init_host(). and call ensure_driver_resources() in init_host(), will call self.driver.ensure_shares or self.driver.ensure_share to update all share instances in that host. Currently, only NetApp and LVM implement self.driver.ensure_shares, Other manufacturers are using self.driver.ensure_share. in large-scale environment, there are lot of share instances in one host. this will lead to take much time to ensure_share. so we can put this operation into the thread pool to speed up the startup of the service. Closes-Bug: #1909847 Change-Id: I295d0de0958ebfedd89441f1a2c1b447b74693a0
17 lines
680 B
YAML
17 lines
680 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
This fix introduces a new configuration item, which named
|
|
"share_service_inithost_offload", default value is False, if set it True,
|
|
will put ensure_share operation into thread pool to speed up startup of
|
|
manila share service.
|
|
fixes:
|
|
- |
|
|
The manila share servie now can put ensure_share operation into thread
|
|
pool during service startup process. See `Launchpad bug#1890833
|
|
<https://launchpad.net/bugs/1909847>`_ for more details.
|
|
- |
|
|
The manila share service now honors the configuration option
|
|
"share_service_inithost_offload", and it can be used to reduce the time
|
|
required for the manila share aervice to start up.
|