]> git.feebdaed.xyz Git - 0xmirror/openstack.git/commit
Update git submodules
authorZuul <zuul@review.opendev.org>
Tue, 16 Dec 2025 19:29:44 +0000 (19:29 +0000)
committerGerrit Code Review <review@openstack.org>
Tue, 16 Dec 2025 19:29:44 +0000 (19:29 +0000)
commit3f11b8c704dc3cb832d5372200a44b869d859582
tree54aa9804f6510b335f55f85086654fe619b42c39
parente4e8b17388718e5c018322df3e754e786032b7bd
Update git submodules

* Update nova from branch 'master'
  to 11dff40b4fba04e1423fb1ffe3866f59f5325a6e
  - Merge "Make image upload tpool usage conditional"
  - Make image upload tpool usage conditional

    When running in eventlet mode we keep the original eventlet.tpool usage
    but when running in threading mode we call the functions directly on the
    thread of the caller.

    The original tpool_execute() call made the upload call running in a
    native tread as it has parts that are blocking and therefore running
    them in the current greenthread would make the other greenthreads
    starved.

    After this patch we preserve the same effect but with different syntax.
    We use tpool_wrap to wrap the function into a tpool.Proxy object and
    then call the proxy object. That proxy ensures that any call on the
    proxy object is run in a native thread.

    This change is useful for us in native threaded mode. There the
    tpool_wrap returns the function unchanged. So upload is executed in the
    caller's native thread. This is OK as in native threaded mode any
    concurrent tasks are also in native threads and native threads are
    preempted when needed. So other tasks will not be starved.

    Change-Id: Iddb8b317b7a883c6fd144a93aca862a792fcd1af
Signed-off-by: Balazs Gibizer <gibi@redhat.com>
nova