Re: Direct I/O support (patches included)

2013-02-18 Thread Dag Wieers
when we get EINVAL so it's clear that direct-io as-is does not work/alignment is not implemented. -- -- dag wieers, d...@wieers.com, http://dag.wieers.com/ -- dagit linux solutions, i...@dagit.net, http://dagit.net/ [Any errors in spelling, tact or fact are transmission errors] -- P

Re: Direct I/O support (patches included)

2013-02-17 Thread Dag Wieers
e a patch ? (I got some hints from iozone wrt. alignment and portability) Another solution is fadvise(), although I still had the behavior mentioned above using --drop-cache, so it didn't fix my use-case which is why I wrote this patch. Kind regards, -- -- dag wieers, d...@wieers.com, ht

Re: Direct I/O support (patches included)

2013-02-17 Thread Dag Wieers
On Sat, 16 Feb 2013, Linda Walsh wrote: Dag Wieers wrote: On Thu, 14 Feb 2013, Brian K. White wrote: > On 2/14/2013 9:50 AM, Dag Wieers wrote: > > > Since a --direct-io feature was requested a few times the past decade > > with little response and the actual patch i

Re: Direct I/O support (patches included)

2013-02-14 Thread Dag Wieers
On Thu, 14 Feb 2013, Brian K. White wrote: On 2/14/2013 9:50 AM, Dag Wieers wrote: Since a --direct-io feature was requested a few times the past decade with little response and the actual patch is quite trivial, I patched both v3.0.9 and master branch and included the patches here. When

Direct I/O support (patches included)

2013-02-14 Thread Dag Wieers
as ongoing so I prefer not to juggle with numbers here). Please test yourself and report back. Kind regards, -- -- dag wieers, d...@wieers.com, http://dag.wieers.com/ -- dagit linux solutions, i...@dagit.net, http://dagit.net/ [Any errors in spelling, tact or fact are transmission errors]diff --

Re: RFE: Lockfile option for use in cronjobs

2008-04-10 Thread Dag Wieers
On Thu, 10 Apr 2008, Dag Wieers wrote: On Wed, 2 Apr 2008, Matt McCutchen wrote: On Mon, 2008-03-31 at 11:43 +0200, Dag Wieers wrote: Looking for an easy way to prevent a repetitive rsync to be running multiple times, I was wondering if it could be useful to have an option like

Re: RFE: Lockfile option for use in cronjobs

2008-04-10 Thread Dag Wieers
On Wed, 2 Apr 2008, Matt McCutchen wrote: On Mon, 2008-03-31 at 11:43 +0200, Dag Wieers wrote: Looking for an easy way to prevent a repetitive rsync to be running multiple times, I was wondering if it could be useful to have an option like: --pidfile /some/path/rsync-mirror-org.pid

RFE: Lockfile option for use in cronjobs

2008-03-31 Thread Dag Wieers
some script that needs local customizations. Thanks in advance, -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read

Re: Rsync push is slower compared to pull

2006-08-23 Thread Dag Wieers
On Wed, 23 Aug 2006, wwp wrote: > On Wed, 23 Aug 2006 14:50:39 +0200 (CEST) Dag Wieers <[EMAIL PROTECTED]> > wrote: > > On Wed, 23 Aug 2006, Srinivasa Battula wrote: > > > On Wed, 32 Aug 2006, Dag Wieers wrote: > > > > On Wed, 23 Aug 2006, Srinivasa Bat

RE: Rsync push is slower compared to pull

2006-08-23 Thread Dag Wieers
On Wed, 23 Aug 2006, Srinivasa Battula wrote: > On Wed, 32 Aug 2006, Dag Wieers wrote: > > On Wed, 23 Aug 2006, Srinivasa Battula wrote: > > > > > It has been observed that rsync push mode is much slower when compared > > > to pull (On Identical scenarios). B

Re: Rsync push is slower compared to pull

2006-08-23 Thread Dag Wieers
include changing the sender and receiver for both push and pull ? That would be required to dismiss the network configuration/environment as the possible cause. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and un

Vhost support

2006-08-23 Thread Dag Wieers
pment and testing) it could be included, if at all. Thanks ! -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: Packages for rsync 2.6.8 with ACLs

2006-05-02 Thread Dag Wieers
ving the ACL > support. Are there any reasons why the rsync with acl support is not appropriate as a drop-in replacement for the 'normal' rsync ? Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and u

Re: Long file names

2006-03-25 Thread Dag Wieers
t, particularly on systems where MAXPATHLEN is overly small (e.g. cygwin). That seems to be your problem. So upgrading to 2.6.7 will most likely fix this for you. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and u

Re: rsync: connection unexpectedly closed.

2006-03-17 Thread Dag Wieers
On Fri, 17 Mar 2006, Dag Wieers wrote: > On Thu, 16 Mar 2006, C.Jagadish wrote: > > > Dear Mr. Samir, > > > > We are using RedHat 7.2. We are getting same error as reported by you some > > time back (given below). > > > > Did you get any soluti

Re: rsync: connection unexpectedly closed.

2006-03-17 Thread Dag Wieers
can't hurt to update it (both the OS or the package). :) Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before postin

Re: rsync files with certain mtime

2006-02-18 Thread Dag Wieers
de different files, this comes in handy (especially if you have to repeat the same set of commands on the commandline). Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change

Re: RSYNC + iNotify

2006-02-08 Thread Dag Wieers
ested in writing this in python, using a python-rsync implementation and python-inotify. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: https://lists.samba.org/ma

writefd_unbuffered failed to write 32768 bytes: phase "unknown"

2005-09-15 Thread Dag Wieers
be: Invalid argument rsync: writefd_unbuffered failed to write 32768 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (796308 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434)

Re: specifying ssh port #?

2005-08-05 Thread Dag Wieers
ablishing the tunnel. This would make a good FAQ. The multiple solutions (and applications) are not that obvious to new users. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or c

Spam to this list

2005-03-25 Thread Dag Wieers
Hi, I'm not sure what the policy of this list is and I bet everyone has a spam filter, so nobody might have noticed, but we got spammed. Can anyone send mail to the list or do you have to subscribe first ? -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a

Re: rsync error: protocol incompatibility (code 2) at main.c(451)

2005-03-15 Thread Dag Wieers
On Tue, 15 Mar 2005, Wayne Davison wrote: > On Tue, Mar 15, 2005 at 04:15:46AM +0100, Dag Wieers wrote: > > Invalid packet at end of run [sender] > > OK, this was a combination of --delay-updates and --hard-links that was > causing a problem at the end of the run. I'

Re: rsync error: protocol incompatibility (code 2) at main.c(451)

2005-03-14 Thread Dag Wieers
On Tue, 15 Mar 2005, Dag Wieers wrote: > On Mon, 14 Mar 2005, Wayne Davison wrote: > > > On Tue, Mar 15, 2005 at 04:15:46AM +0100, Dag Wieers wrote: > > > Invalid packet at end of run [sender] > > > > It would help to know what options you had enabled. > &

Re: rsync error: protocol incompatibility (code 2) at main.c(451)

2005-03-14 Thread Dag Wieers
On Mon, 14 Mar 2005, Wayne Davison wrote: > On Tue, Mar 15, 2005 at 04:15:46AM +0100, Dag Wieers wrote: > > Invalid packet at end of run [sender] > > It would help to know what options you had enabled. An update. I noticed that the files being transfered or not updated at

Re: rsync error: protocol incompatibility (code 2) at main.c(451)

2005-03-14 Thread Dag Wieers
On Mon, 14 Mar 2005, Wayne Davison wrote: > On Tue, Mar 15, 2005 at 04:15:46AM +0100, Dag Wieers wrote: > > Invalid packet at end of run [sender] > > It would help to know what options you had enabled. Damn, I was planning to include those. Here they are: -avHl --pr

rsync error: protocol incompatibility (code 2) at main.c(451)

2005-03-14 Thread Dag Wieers
536.69kB/s0:00:00 (798, 99.9% of 244497) Invalid packet at end of run [sender] rsync error: protocol incompatibility (code 2) at main.c(451) The rsync run completed without errors apart from that message. -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all

Re: Premature optimization in f_name_cmp()?

2005-03-14 Thread Dag Wieers
On Mon, 14 Mar 2005, Wayne Davison wrote: > On Mon, Mar 14, 2005 at 10:15:18PM +0100, Dag Wieers wrote: > > And the --fuzzy option was my main reason to try out the newer rsync. > > One other caveat -- the CVS version of rsync has a protocol change in it > that makes it incom

Re: Premature optimization in f_name_cmp()?

2005-03-14 Thread Dag Wieers
On Mon, 14 Mar 2005, Wayne Davison wrote: > On Mon, Mar 14, 2005 at 10:15:18PM +0100, Dag Wieers wrote: > > But there seems to be something wrong with the --fuzzy option > > Yes -- it's a bug in the change I just checked into generator.c to deal > with the dirname-poin

Re: Premature optimization in f_name_cmp()?

2005-03-14 Thread Dag Wieers
On Mon, 14 Mar 2005, Wayne Davison wrote: > On Mon, Mar 14, 2005 at 06:24:15PM +0100, Dag Wieers wrote: > > > Would a current CVS checkout have a fix for this so I can verify this ? > > Is CVS in proper shape currently ? > > Yes, the CVS version (as well as the latest &

Re: Premature optimization in f_name_cmp()?

2005-03-14 Thread Dag Wieers
files it considers ? Would a current CVS checkout have a fix for this so I can verify this ? Is CVS in proper shape currently ? -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: http

delay-renames patch

2005-02-21 Thread Dag Wieers
quire much more than that option to work (if both sides understand it). Is there a policy about what can go in the next rsync release or when something gets included in CVS ? Thanks for --delay-renames :) -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed

Re: error in rsync protocol data stream (code 12) at io.c(692)

2005-01-16 Thread Dag Wieers
On Fri, 14 Jan 2005, Wayne Davison wrote: > On Thu, Jan 13, 2005 at 07:51:33PM +0100, Dag Wieers wrote: > > unexpected tag -111 > > rsync error: error in rsync protocol data stream (code 12) at io.c(692) > > > > Can this be caused by the delay-renames patch ?

Re: error in rsync protocol data stream (code 12) at io.c(692)

2005-01-14 Thread Dag Wieers
On Thu, 13 Jan 2005, Dag Wieers wrote: > Hi Wayne, Jeff, > > With the same version/build as the last report, I got this error now: > > ... > extra/state/all-packages.list >145 100% 46.83kB/s0:00:30 (634, 0.0% of 201605) > WARNIN

error in rsync protocol data stream (code 12) at io.c(692)

2005-01-13 Thread Dag Wieers
-- update put into partial-dir (will try again). unexpected tag -111 rsync error: error in rsync protocol data stream (code 12) at io.c(692) Can this be caused by the delay-renames patch ? Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a

Protocol incompatibility with rsync 2.6.4 (cvs) and disk full

2005-01-12 Thread Dag Wieers
room, synced again and it miraculously worked. I'm not sure why it gives this weird error when the *sender* has a full partition but apparantly it did. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited pow

Re: Preliminary Suggestion For Atomic Transactions

2005-01-05 Thread Dag Wieers
specifically, but the same functionality. -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Preliminary Suggestion For Atomic Transactions

2005-01-05 Thread Dag Wieers
ync only for the time it takes to rename a number of files (often between 20 to 100) which is in the seconds, I hope. Maybe it would be nice to also have your atomic implementation in rsync and people can choose what algorithm to use. Both make sense in different cases, I'm sure. -- dag

Re: atomic transaction set option to rsync

2005-01-03 Thread Dag Wieers
On Mon, 3 Jan 2005, Wayne Davison wrote: > On Tue, Jan 04, 2005 at 02:51:23AM +0100, Dag Wieers wrote: > > In the past I could say smt. like: > > > > rsync -a dir1/ dir2/ [EMAIL PROTECTED]:/remote-dir/ > > > > and it would process first dir1 and then dir2

Re: atomic transaction set option to rsync

2005-01-03 Thread Dag Wieers
On Mon, 3 Jan 2005, Wayne Davison wrote: > On Mon, Jan 03, 2005 at 05:39:19PM +0100, Dag Wieers wrote: > > With newer rsyncs, rsync seems to sort the transaction set, so I > > cannot longer use this trick to have the metadata uploaded just after > > the data in the

Re: atomic transaction set option to rsync

2005-01-03 Thread Dag Wieers
On Mon, 3 Jan 2005, Steve Bonds wrote: > On Mon, 3 Jan 2005 17:39:19 +0100 (CET), Dag Wieers dag-at-wieers.com wrote: > > > There are other ways to work around it, either by uploading in different > > steps (which is impractical in my scenario) or by using a staging area > &

atomic transaction set option to rsync

2005-01-03 Thread Dag Wieers
fault. -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync error: errors selecting input/output files, dirs (code 3) at flist.c(980)

2003-09-14 Thread Dag Wieers
touched. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync error: error in rsync protocol data stream (code 12) at io.c(463)

2003-09-13 Thread Dag Wieers
On Sat, 13 Sep 2003, Dag Wieers wrote: > Using rsync-2.5.6 I get the exact same error: > > building file list ... > 28844 files to consider > apt/packages/ > apt/packages/avifile/ > apt/packages/avifile/avifile-0.7.34-1.dag.rh90.i

Re: rsync error: error in rsync protocol data stream (code 12) at io.c(463)

2003-09-13 Thread Dag Wieers
On Sat, 13 Sep 2003, Dag Wieers wrote: > I'm having a problem rsyncing one file (since I signed it). It seems that > the content of a file is able to cause problems in the protocol. > > building file list ... > 28820 files to consider > apt/packag

rsync error: error in rsync protocol data stream (code 12) at io.c(463)

2003-09-13 Thread Dag Wieers
bove error. Kind regards, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html