]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: d3n: fix valgrind reported leak related to libaio worker threads
authorMark Kogan <mkogan@ibm.com>
Tue, 28 Nov 2023 12:34:31 +0000 (14:34 +0200)
committerMark Kogan <mkogan@ibm.com>
Wed, 6 Dec 2023 12:48:40 +0000 (14:48 +0200)
commitdd258d8da00c400fdca752c47366b6bd453e27ed
tree6a9f42cf284014470290ae9693f14d799ab31137
parent9bc2c7994359ea31aae95c5f90d3f6b547cfbd7f
rgw: d3n: fix valgrind reported leak related to libaio worker threads

which sporadically reproduces on teuthology ubuntu instances

happens because a race between RGW shutdown occurring before
the libaio worker threads had terminated

to fix, reduced the libaio threads inactivity shutdown time

ref:
man aio_init
...
aio_idle_time
This field specifies the amount of time in seconds that a worker thread
should wait for further requests before terminating, after having
completed a previous request.   The
default value is 1.
...

Fixes: https://tracker.ceph.com/issues/63445
Signed-off-by: Mark Kogan <mkogan@ibm.com>
src/rgw/driver/rados/rgw_d3n_datacache.cc