]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libfrog: enhance ptvar to support initializer functions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:08 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:08 +0000 (17:01 -0700)
commit2789248359ec072c61e232ae74e3c7bf01bc635e
treeb42fe47f2561f92d20746d0bf4da359fa04298d3
parent8dd67c8eccbe0e6b8dd7975ba53f9ccaf532aa9c
libfrog: enhance ptvar to support initializer functions

Modify the per-thread variable code to support passing in an initializer
function that will set up each thread's variable space when it is
claimed.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libfrog/ptvar.c
libfrog/ptvar.h
scrub/counter.c
scrub/descr.c
scrub/phase7.c
scrub/read_verify.c