mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Rework thread pool for increased stability + config and doc updates (#1453)
Also updates fmt to 11.2.0 and replaced syslog usage with a wrapper leveraging fmt.
This commit is contained in:
parent
455a81290b
commit
344014aa81
58 changed files with 9097 additions and 24020 deletions
|
|
@ -139,6 +139,7 @@ namespace l
|
|||
}
|
||||
|
||||
static
|
||||
inline
|
||||
int
|
||||
concurrent_readdir(ThreadPool &tp_,
|
||||
const Branches::CPtr &branches_,
|
||||
|
|
@ -168,7 +169,7 @@ namespace l
|
|||
mutex);
|
||||
};
|
||||
|
||||
auto rv = tp_.enqueue_task(func);
|
||||
auto rv = tp_.enqueue_task(std::move(func));
|
||||
|
||||
futures.emplace_back(std::move(rv));
|
||||
}
|
||||
|
|
@ -182,7 +183,7 @@ namespace l
|
|||
}
|
||||
|
||||
int
|
||||
FUSE::ReadDirCOR::operator()(fuse_file_info_t const *ffi_,
|
||||
FUSE::ReadDirCOR::operator()(const fuse_file_info_t *ffi_,
|
||||
fuse_dirents_t *buf_)
|
||||
{
|
||||
Config::Read cfg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue