summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-10-16 22:39:21 -0700
committerWayne Davison <wayned@samba.org>2009-10-17 00:03:32 -0700
commit20caffd2b361bcad51692998411e4cc566c04b40 (patch)
treee54933f78ef7d0441c3cb75f945b9d79e4ed7207 /options.c
parentdf6350a8b83a9e669f5e5c822bf2dc929526a128 (diff)
downloadrsync-20caffd2b361bcad51692998411e4cc566c04b40.tar.gz
rsync-20caffd2b361bcad51692998411e4cc566c04b40.tar.bz2
rsync-20caffd2b361bcad51692998411e4cc566c04b40.zip
A major overhaul of I/O routines, creating perform_io().
Files-from data is now sent as multiplexed I/O so that it can mingle with any messages (such as debug output). Requires protocol 31. Protocol 31 no longer disables output verbosity in a couple instances that used to cause protocol issues. Got rid of MSG_* messages that have implied raw data that follows after them. We instead send a negative index value as a part of the raw data stream, which is guaranteed to be output together with the following data. This only affects the (in-progress) protocol 31 and the (self- contained) communication stream from the receiver to the generator. Added --debug=IO and improved --debug=FLIST. Some --debug=IO output requires --msgs2stderr to be used to see it (i.e. sending a message about sending a message would send another message, ad infinitum).
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 3c72eaed..66820b54 100644
--- a/options.c
+++ b/options.c
@@ -279,6 +279,7 @@ static struct output_struct debug_words[COUNT_DEBUG+1] = {
DEBUG_WORD(HASH, W_SND|W_REC, "Debug hashtable code"),
DEBUG_WORD(HLINK, W_SND|W_REC, "Debug hard-link actions"),
DEBUG_WORD(ICONV, W_CLI|W_SRV, "Debug iconv character conversions (levels 1-2)"),
+ DEBUG_WORD(IO, W_CLI|W_SRV, "Debug I/O routines (levels 1-4)"),
DEBUG_WORD(OWN, W_REC, "Debug ownership changes in users & groups (levels 1-2)"),
DEBUG_WORD(PROTO, W_CLI|W_SRV, "Debug protocol information"),
DEBUG_WORD(RECV, W_REC, "Debug receiver functions"),