Displaying 5 results from an estimated 5 matches for "p_len".
Did you mean:
s_len
2011 May 29
22
[Bug 8177] New: Problems with big sparsed files
https://bugzilla.samba.org/show_bug.cgi?id=8177
Summary: Problems with big sparsed files
Product: rsync
Version: 3.0.8
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: joluinfante at gmail.com
2002 Aug 05
5
[patch] read-devices
...um);
Only in rsync-patched: config.h
diff -r -u4 rsync-2.5.5/fileio.c rsync-patched/fileio.c
--- rsync-2.5.5/fileio.c Sat Jan 26 02:07:34 2002
+++ rsync-patched/fileio.c Mon Aug 5 10:05:15 2002
@@ -111,32 +111,43 @@
map->p_size = 0;
map->p_offset = 0;
map->p_fd_offset = 0;
map->p_len = 0;
+ map->m_ptr = NULL;
+ map->m_len = 0;
return map;
}
-/* slide the read window in the file */
-char *map_ptr(struct map_struct *map,OFF_T offset,int len)
+/* slide the read window in the file.
+ * The state of the window is saved in the map->p* members.
+ * A subrange of this w...
2009 Apr 26
4
DO NOT REPLY [Bug 6293] New: rsync crashes when transferring files
...X crash reporter about
a access violation. I made the kernel dump it core and got the following
backtrace:
-----8<-----
#0 0x0003123b in map_ptr (map=0x0, offset=0, len=32768) at fileio.c:192
192 if (offset >= map->p_offset && offset+len <=
map->p_offset+map->p_len)
(gdb) bt
#0 0x0003123b in map_ptr (map=0x0, offset=0, len=32768) at fileio.c:192
#1 0x00011e54 in receive_data (f_in=5, fname_r=0x0, fd_r=-1, size_r=0,
fname=0x0, fd=-1, total_size=50263) at receiver.c:202
#2 0x00012271 in discard_receive_data (f_in=<value temporarily unavailable,
due to opt...
2005 Sep 20
2
Nulls instead of data
In short:
Platform: linux with 2.4 kernel
Version: rsync 2.6.6
Command line:
rsync266 -av -W --bwlimit=1 /mnt/somedir/rsync-2.6.6.tar.gz ./
Destination: local disk
Source: file on a smbfs mounted filesystem; share is exported on a NT 4.0
workstation over a very slow and unstable link
Result: Rsync completes operation with no special message, but the
resulting file is damaged, large
2004 Aug 02
4
reducing memmoves
...2*CHUNK_SIZE;
- window_start &= ~((OFF_T)(CHUNK_SIZE-1)); /* assumes power of 2 */
+ window_start = offset;
} else {
window_start = 0;
}
@@ -212,6 +212,7 @@
read_offset = read_start - window_start;
read_size = window_size - read_offset;
memmove(map->p, map->p + (map->p_len - read_offset), read_offset);
+ total_bytes_memmoved += read_offset;
} else {
read_start = window_start;
read_size = window_size;