Subject: [PATCH] sftp: Add support for fsync (OpenSSH extension).

[PATCH] sftp: Add support for fsync (OpenSSH extension).

From: Richard W.M. Jones <rjones_at_redhat.com>
Date: Tue, 9 Apr 2013 10:42:08 +0100

The patch (in the following email) adds fsync support to libssh2 via a
new API function called 'libssh2_sftp_fsync'.

*NOTE:* For this to work you will need a patched OpenSSH with an
accepted-upstream-but-not-included patch that adds the
fsync_at_openssh.com extension to OpenSSH sftp-server. For details see
here:

https://bugzilla.mindrot.org/show_bug.cgi?id=1798

I have tested this via my qemu ssh block device patch both with and
without fsync support on the server side.

Rich.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-04-09