Age | Commit message (Collapse) | Author |
|
Previously wrapper functions for open(), opendir(), and stat(), etc,
are implemneted in path.h, and now they are in fileops.h and fileops.c.
This commit is a reparation for remote glob.
|
|
Instead of m->threads array, struct mscp_thread instanes are
maintained in m->thread_list. This enables stable counter access
via mscp_get_stats().
|
|
|
|
|
|
This commit runs mscp_prepare() in a pthread. mscp copy threads
run aysnchronously with mscp_prepare(). So, when mscp_prepare()
has not finished yet (due to too many source files), we can start
to copy files.
|
|
In new walk_src_path, resolve dst path and resolve chunks are
invoked when adding a path.
|
|
ToDo:
main should use pipe to receive messages from libmscp.
|
|
Instead of pr_err(), libmscp uses mscp_set_error() and
applications use mscp_get_errror() to get error message.
|
|
|
|
|
|
|
|
this commit starts to refactor file.h|c to path.h|c and
add mscp.c|h. not completed yet.
|