Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-04 | remove pprint, use message (mpr_*) instead. | Ryo Nakamura | |
ToDo: main should use pipe to receive messages from libmscp. | |||
2023-03-03 | implementing messaging. | Ryo Nakamura | |
ToDo: remove pprint. mscp should use mpr_* functions, and main.c should use just fprintf(stdout, "\r\033[K" fmt, ...) for printing progress bar. | |||
2023-03-03 | add message.h and message.c, mscp_set|get_error() | Ryo Nakamura | |
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message. | |||
2023-03-03 | tiny cleanup | Ryo Nakamura | |
2023-03-03 | add mscp_get_stats | Ryo Nakamura | |
move progress bar-related functions from mscp.c to main.c. | |||
2023-03-03 | add mscp_ssh_opts and change -C optarg | Ryo Nakamura | |
2023-02-26 | tiny fix on comment | Ryo Nakamura | |
2023-02-26 | now mscp links libmscp | Ryo Nakamura | |
2023-02-16 | add -r option (but no effect) | Ryo Nakamura | |
2023-02-16 | add \n at the final output | Ryo Nakamura | |
2022-12-11 | set default nr_threads to floor(log(cores) * 2) + 1) | Ryo Nakamura | |
This change prevents mscp from establishing too many ssh connections on many-core machines in default. | |||
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-12-08 | set default NR_AHEAD to 32 | Ryo Nakamura | |
2022-12-06 | fix final progress output | Ryo Nakamura | |
2022-12-05 | reuse ctrl sftp session for the first copy thread | Ryo Nakamura | |
2022-12-04 | set TCP_NODELAY by default and introduce -N option to disable it | Ryo Nakamura | |
2022-12-03 | remove unused code and introduce -b buf_sz option | Ryo Nakamura | |
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh. | |||
2022-12-02 | little cleanup | Ryo Nakamura | |
2022-12-02 | add -M hmac option | Ryo Nakamura | |
2022-11-28 | use sigalrm for printing progress bar | Ryo Nakamura | |
2022-11-27 | add ETA to progress print | Ryo Nakamura | |
2022-11-27 | skip sftp_free() inappropriately | Ryo Nakamura | |
2022-11-26 | fix duplicate error message on ssh auth failed. | Ryo Nakamura | |
and fix the final \n with -q | |||
2022-11-18 | fix when copy multiple sources and various tiny fixes | Ryo Nakamura | |
* when copying multiple sources, target must be directory * add multi-src copy test and parametrize src/dst prefixes * cleanup REAMDE (s/sessions/connections/g) * make error output in copy functions simple | |||
2022-11-18 | tiny fix | Ryo Nakamura | |
- set ssh nonblocking before closing sftp session - fix pprint for core mask | |||
2022-11-16 | check invalid coremask | Ryo Nakamura | |
2022-11-15 | add -m coremask option | Ryo Nakamura | |
2022-11-13 | add memory barrier to notify monitor thread of copy threads finished | Ryo Nakamura | |
2022-11-13 | add -a nr_ahead option | Ryo Nakamura | |
2022-11-12 | little trick to make progress bar stable | Ryo Nakamura | |
2022-11-12 | fix buf size in remote to local copy. | Ryo Nakamura | |
Too large buffer size for sftp_async_read causes unfinished copy: sftp_async_read returns 0 althrough data remains. | |||
2022-11-12 | fix some thread handling | Ryo Nakamura | |
2022-11-08 | fix incorrect ret handling for read/write | Ryo Nakamura | |
2022-11-05 | add -H option to disable host key check | Ryo Nakamura | |
tests use this option. | |||
2022-10-31 | do not print progress when total bytes transferred is 0 | Ryo Nakamura | |
2022-11-01 | capture retval from copy threads | Ryo Nakamura | |
2022-10-31 | rename dirname if dst dir does not exist | Ryo Nakamura | |
`scp remote:srcdir dstdir` renames srcdir to dstdir if dstdir does not exist. If dstdir exists, it creates dstdir/srcdir. This commit imitates this behavior. | |||
2022-10-30 | set nr_threads to # of chunks if # of chunks is small | Ryo Nakamura | |
2022-10-30 | add cpack to build debian package | Ryo Nakamura | |
2022-10-30 | Merge branch 'main' of github.com:upa/mscp | Ryo Nakamura | |
2022-10-30 | rename sscp to mscp | Ryo Nakamura | |
2022-10-30 | little refactoring for param names | Ryo Nakamura | |
2022-10-29 | change indent from space to tab | Ryo Nakamura | |
2022-10-29 | fix path handling | Ryo Nakamura | |
2022-10-25 | wrap print progress in pprint | Ryo Nakamura | |
2022-10-25 | add copy start and done output | Ryo Nakamura | |
These fputs should be wrapped in a function and protected by a lock. todo. | |||
2022-10-25 | fix miss flag handling for threads[n].finished | Ryo Nakamura | |
2022-10-24 | todo: consider smp for counters | Ryo Nakamura | |
2022-10-23 | adjust order of thread spawning | Ryo Nakamura | |
2022-10-23 | configurable sftp_buf_sz. | Ryo Nakamura | |
default value 131072 is derived from qemu/block/ssh.c. we need more investigaion. |