Displaying 10 results from an estimated 10 matches for "fd_r".
2009 Apr 26
4
DO NOT REPLY [Bug 6293] New: rsync crashes when transferring files
...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 optimizations>, length=<value temporarily unavailable, due to
optimizations>) at receiver.c:321
#3 0x000133f2 in recv_files (f_in=5, l...
2009 Sep 05
1
several questions about R graphic properties
I have a several questions about R graphic properties.
I use a "barplot2" function for creating plots with error bars. My data include species' names in first column, and I need make plots for each species. I know how to select species for each plot:
D<-read.table("FD_R.txt", h=T)
Dens<-D[D[,1]=="Sit.eur",]
but I want to make a cycle which will automatically change the species' name and save each plot in "jpg" file. How can I do it?
Also, my data include results of two-year work, and I want to make two plots for each year one abov...
2006 May 18
1
Partial files left on SIGINT
Hi,
As the man page says, the --partial flag is to "keep partially
transferred files". I'm assuming if I don't have partial flag any
partially transferred files should be deleted. However this is not what
I'm seeing.
Example:
(Using a big file so that rsync times a while to run. This gives me time
to hit CTRL-C for the SIGINT).
> mkdir example
> dd if=/dev/zero
2004 Aug 02
4
reducing memmoves
Attached is a patch that makes window strides constant when files are
walked with a constant block size. In these cases, it completely
avoids all memmoves.
In my simple local test of rsyncing 57MB of 10 local files, memmoved
bytes went from 18MB to zero.
I haven't tested this for a big variety of file cases. I think that this
will always reduce the memmoves involved with walking a large
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...local_socket && sum.count == 0) {
+ int i = recv_fd(local_socket);
+ rprintf(FINFO,"received file descriptor %d\n", i);
+ if (i <= 0)
+ offset = -1;
+ write_buf(local_socket, (char *)&offset, sizeof(offset));
+ if (i <= 0)
+ return 0;
+ f_in = -i;
+ }
+
if (fd_r >= 0 && size_r > 0) {
int32 read_size = MAX(sum.blength * 2, 16*1024);
mapbuf = map_file(fd_r, size_r, read_size, sum.blength);
@@ -231,11 +245,18 @@
stats.literal_data += i;
cleanup_got_literal = 1;
- sum_update(data, i);
+ if (f_in >= 0)
+ /* no need for md...
2006 Nov 21
1
rsync v2.6.9: small patch fixing NORETURN failures
...truct *chmod_modes);
void close_all(void);
-NORETURN void _exit_cleanup(int code, const char *file, int line);
+NORETURN void _exit_cleanup(int code, const char *file, int line) NORETURN2;
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w);
@@ -276,8 +276,8 @@
void set_blocking(int fd);
int fd_pair(int fd[2]);
void print_child_argv(char **cmd);
-NORETURN void out_of_memory(char *str);
-NORETURN void overflow_exit(char *str);
+NORETURN void out_of_memory(char *str) NORETURN2;
+NORETURN void overflow_exit(char *str) NORET...
2009 Oct 15
1
PATCH: --write-devices to allow synchronising to a block device
...000 +1300
@@ -38,6 +38,7 @@
extern int relative_paths;
extern int preserve_hard_links;
extern int preserve_perms;
+extern int write_devices;
extern int preserve_xattrs;
extern int basis_dir_cnt;
extern int make_backups;
@@ -165,6 +166,7 @@
static int receive_data(int f_in, char *fname_r, int fd_r, OFF_T size_r,
const char *fname, int fd, OFF_T total_size)
{
+ STRUCT_STAT st;
static char file_sum1[MAX_DIGEST_LEN];
static char file_sum2[MAX_DIGEST_LEN];
struct map_struct *mapbuf;
@@ -285,10 +287,14 @@
goto report_write_er...
2010 Jun 15
3
about rsyncing of block devices
Hiya,
I can see it's a regular subject on this list.
I, like others wanted to use rsync to synchronise two block
devices (as it happens one lvm volume and one nbd device served
by qemu-img on a remote host from a qcow2 disk image so that I
can keep the old versions)
As I couldn't find any report of it being done successfully,
I'm just sharing my findings as it might benefit others.
2017 Aug 16
1
dotlock causing crashes
...<optimized out>, lock_type=lock_type at entry=1,
lock_method=lock_method at entry=FILE_LOCK_METHOD_DOTLOCK, lock_r=lock_r at entry=0xc4ec10,
error_r=error_r at entry=0x7ffd7009f768) at file-lock.c:66
No locals.
#8 0x00007fa2630a0955 in try_create_new (error_r=0x7ffd7009f768, lock_r=0xc4ec10, fd_r=0x7ffd7009f700,
set=0x7ffd7009f770, path=0xc2f930 "/gnoc/mail/home/bgeels/mail/mailboxes/Junk/dbox-Mails/.vsize.lock") at
file-create-locked.c:65
fd = 20
orig_errno = <optimized out>
ret = -1
temp_path = 0xbb5830
mode = 0
uid = <opt...
2017 Jan 24
1
Quota count does not work with lock_method=dotlock
On 24.01.2017 11:31, Tom Sommer wrote:
> On 2017-01-24 10:25, Aki Tuomi wrote:
>> On 24.01.2017 11:13, Tom Sommer wrote:
>>> On 2017-01-18 15:27, mkliewe at gmx.de wrote:
>>>
>>>> dovecot crashes when I switch the quota tracking from dict to count.
>>>
>>> I have the same problem, but I use 'dict:file' as quota backend -
>>>