]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - repair/threads.h
libxfs: refactor manage_zones()
[thirdparty/xfsprogs-dev.git] / repair / threads.h
CommitLineData
959ef981
DC
1// SPDX-License-Identifier: GPL-2.0
2
3b6ac903
MV
3#ifndef _XFS_REPAIR_THREADS_H_
4#define _XFS_REPAIR_THREADS_H_
5
62843f36 6#include "workqueue.h"
2556c98b 7
62843f36 8void thread_init(void);
2556c98b
BN
9
10void
11create_work_queue(
62843f36
DW
12 struct workqueue *wq,
13 struct xfs_mount *mp,
14 unsigned int nworkers);
2556c98b
BN
15
16void
17queue_work(
62843f36
DW
18 struct workqueue *wq,
19 workqueue_func_t func,
2556c98b
BN
20 xfs_agnumber_t agno,
21 void *arg);
22
23void
24destroy_work_queue(
62843f36 25 struct workqueue *wq);
3b6ac903
MV
26
27#endif /* _XFS_REPAIR_THREADS_H_ */