Commit Graph

15 Commits

Author SHA1 Message Date
Ryo Nakamura
dca0241824 add O_TRUNC when the first open() for a file 2022-11-18 22:30:34 +09:00
Ryo Nakamura
d448f9eb8a implement local-to-remote copy with async_write 2022-11-17 21:46:21 +09:00
Ryo Nakamura
81a7fbd2d8 add -a nr_ahead option 2022-11-13 15:31:12 +09:00
Ryo Nakamura
b9f44bb030 Merge branch 'main' of github.com:upa/mscp 2022-10-30 15:22:17 +09:00
Ryo Nakamura
c495f6b89b rename sscp to mscp 2022-10-30 15:20:05 +09:00
Ryo Nakamura
65bdbdaede little refactoring for param names 2022-10-30 06:13:02 +00:00
Ryo Nakamura
c76fa3141d change indent from space to tab 2022-10-29 23:48:50 +09:00
Ryo Nakamura
ff697aa514 fix path handling 2022-10-29 23:36:12 +09:00
Ryo Nakamura
79e717d1ed configurable sftp_buf_sz.
default value 131072 is derived from qemu/block/ssh.c.
we need more investigaion.
2022-10-23 21:43:44 +09:00
Ryo Nakamura
3a22043f41 copy over multiple connection works, but not checked file integirty 2022-10-22 23:57:36 +09:00
Ryo Nakamura
b2ae183c81 implement copy chunk 2022-10-22 18:23:42 +09:00
Ryo Nakamura
ab0bf7e5dc add atomic refcnt and locks.
It might be unnecessary, if open/close can be done without lock.
2022-10-20 20:25:23 +09:00
Ryo Nakamura
808069ab9d implement chunk fill 2022-10-20 18:58:06 +09:00
Ryo Nakamura
def9cfeba7 implement fill_file 2022-10-16 22:12:03 +09:00
Ryo Nakamura
303a9eb974 initial commit 2022-10-15 21:59:25 +09:00