]> git.ipfire.org Git - thirdparty/qemu.git/commit
file-posix: Factor out raw_thread_pool_submit()
authorKevin Wolf <kwolf@redhat.com>
Fri, 26 Oct 2018 15:53:47 +0000 (16:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 14 Dec 2018 10:52:41 +0000 (11:52 +0100)
commit5d5de250056b0972cde2e88133db702960a32b72
tree8795d39597b55017c521009ea5e7b884c7ba440e
parentd57c44d00f0daddd6d31b326ef844bf2facf6d8a
file-posix: Factor out raw_thread_pool_submit()

Getting the thread pool of the AioContext of a block node and scheduling
some work in it is an operation that is already done twice, and we'll
get more instances. Factor it out into a separate function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/file-posix.c