search for: read_fd

Displaying 6 results from an estimated 6 matches for "read_fd".

Did you mean: read_fds
2004 May 29
1
[patch] Filename conversion
...are always considered fatal, since an + * incorrectly named file could cause unpredictable damage. + */ + +#include <rsync.h> + +#define FNAME_CONV_PERSISTENCE_TIMEOUT 3000 /* milliseconds */ + +static int conv_persistent = 1; +static pid_t conv_pid = -1; +static int conv_write_fd = -1, conv_read_fd; +extern char* fname_convert_cmd; +extern int blocking_io; + +/** + * Splits cmd on spaces. + */ +static void split_on_spaces(char* cmd, char** parts) { + int nparts=0; + char *tok; + char *cmd2 = strdup(cmd); + if (!cmd2) { + rprintf(FERROR, "Out of memory while parsing filename filter %s\n&...
2018 Dec 28
19
[Bug 2948] New: implement "copy-data" sftp extension
https://bugzilla.mindrot.org/show_bug.cgi?id=2948 Bug ID: 2948 Summary: implement "copy-data" sftp extension Product: Portable OpenSSH Version: -current Hardware: All URL: https://tools.ietf.org/html/draft-ietf-secsh-filexfer- extensions-00#section-7 OS: All Status: NEW
2004 Aug 25
0
[PATCH] move highest_fd calculations to ioloop-select.c
...loop-select.c dovecot-1.0-test35/src/lib/ioloop-select.c --- dovecot-1.0-test35.vanilla/src/lib/ioloop-select.c 2004-08-23 17:46:41.000000000 +0400 +++ dovecot-1.0-test35/src/lib/ioloop-select.c 2004-08-25 10:55:25.000000000 +0400 @@ -17,8 +17,27 @@ struct ioloop_handler_data { static fd_set tmp_read_fds, tmp_write_fds; +static void update_highest_fd(struct ioloop *ioloop) +{ + struct io *io; + int max_highest_fd; + + max_highest_fd = ioloop->highest_fd-1; + ioloop->highest_fd = -1; + + for (io = ioloop->ios; io != NULL; io = io->next) { + if (!io->destroyed &&a...
2008 Mar 10
12
[RFC][PATCH] Use ioemu block drivers through blktap
When I submitted the qcow2 patch for blktap, suggestions came up that the qemu block drivers should be used also for blktap to eliminate the current code duplication in ioemu and blktap. The attached patch adds support for a tap:ioemu pseudo driver. Devices using this driver won''t use tapdisk (containing the code duplication) any more, but will connect to the qemu-dm of the domain. In
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with updates coming from blktap2.5. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
2013 Jul 15
6
[PATCH 0 of 6 RESEND v2] blktap3/sring: shared ring between tapdisk and the front-end
This patch series introduces the shared ring used by the front-end to pass request descriptors to tapdisk, as well as responses from tapdisk to the front-end. Requests from this ring end up in tapdisk''s standard request queue. When the tapback daemon detects that the front-end tries to connect to the back-end, it spawns a tapdisk and tells it to connect to the shared ring. The shared