<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Weekend hack: adfsd, a kqueue-assisted rsync tool</title>
	<atom:link href="http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/</link>
	<description>Just another FreeBSD Developer's weblog</description>
	<lastBuildDate>Sun, 06 Dec 2009 19:44:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bookmarks about Rsync</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2102</link>
		<dc:creator>Bookmarks about Rsync</dc:creator>
		<pubDate>Sun, 30 Nov 2008 07:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2102</guid>
		<description>[...] - bookmarked by 2 members originally found by guevarani on 2008-10-21  Weekend hack: adfsd, a kqueue-assisted rsync tool  http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/ - [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 2 members originally found by guevarani on 2008-10-21  Weekend hack: adfsd, a kqueue-assisted rsync tool  <a href="http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/" rel="nofollow">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/</a> &#8211; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2083</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 28 Nov 2008 11:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2083</guid>
		<description>i updated rsync to 3.0.4, in which command &quot;--del&quot; present.
revert in adfsd.c &quot;--delete&quot; to &quot;--del&quot;, recompile it

but error still happens when i try to delete file ..

I even download hash.h and recomplie ..</description>
		<content:encoded><![CDATA[<p>i updated rsync to 3.0.4, in which command &#8220;&#8211;del&#8221; present.<br />
revert in adfsd.c &#8220;&#8211;delete&#8221; to &#8220;&#8211;del&#8221;, recompile it</p>
<p>but error still happens when i try to delete file ..</p>
<p>I even download hash.h and recomplie ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivoras</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2082</link>
		<dc:creator>ivoras</dc:creator>
		<pubDate>Fri, 28 Nov 2008 11:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2082</guid>
		<description>Your hash.h problem is very strange - it is certainly present: http://svn.freebsd.org/viewvc/base/head/sys/sys/ .

From rsync(1):

            --del                   an alias for --delete-during
            --delete                delete extraneous files from dest dirs
            --delete-during         receiver deletes during xfer, not before

The &quot;--delete-during&quot; should also work, but it might also cause your error with deleting the file. It looks like rsync doesn&#039;t wont to sync a &quot;non-existant&quot; file. Maybe your version of rsync doesn&#039;t support it?

Anyway, see comment #5 :)</description>
		<content:encoded><![CDATA[<p>Your hash.h problem is very strange &#8211; it is certainly present: <a href="http://svn.freebsd.org/viewvc/base/head/sys/sys/" rel="nofollow">http://svn.freebsd.org/viewvc/base/head/sys/sys/</a> .</p>
<p>From rsync(1):</p>
<p>            &#8211;del                   an alias for &#8211;delete-during<br />
            &#8211;delete                delete extraneous files from dest dirs<br />
            &#8211;delete-during         receiver deletes during xfer, not before</p>
<p>The &#8220;&#8211;delete-during&#8221; should also work, but it might also cause your error with deleting the file. It looks like rsync doesn&#8217;t wont to sync a &#8220;non-existant&#8221; file. Maybe your version of rsync doesn&#8217;t support it?</p>
<p>Anyway, see comment #5 <img src='http://blogs.freebsdish.org/ivoras/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2080</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 28 Nov 2008 11:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2080</guid>
		<description>Thanks, Ivoras!

I have no hash.h in /usr/include/sys but fnv_hash.h, so, i use it.
Error happens in rsync, my rsync want option &quot;--delete&quot; instead of &quot;--del&quot;, i correct that and remake.
Next error happens wneh i try to delete file:

adfsd[83300]: Change detected in: adfsd.core
adfsd[83300]: Change detected in:
adfsd[83300]: Sent to rsync: adfsd.core
rsync: link_stat &quot;/var/ports/distfiles/adfs/adfs/source/adfsd.core&quot; failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(702)
adfsd[83300]: Sent 1 files to rsync
adfsd[83300]: Partial rsync terminated with error 23
adfsd[83300]: Sent to rsync:
adfsd in free(): error: chunk is already free
Abort (core dumped)</description>
		<content:encoded><![CDATA[<p>Thanks, Ivoras!</p>
<p>I have no hash.h in /usr/include/sys but fnv_hash.h, so, i use it.<br />
Error happens in rsync, my rsync want option &#8220;&#8211;delete&#8221; instead of &#8220;&#8211;del&#8221;, i correct that and remake.<br />
Next error happens wneh i try to delete file:</p>
<p>adfsd[83300]: Change detected in: adfsd.core<br />
adfsd[83300]: Change detected in:<br />
adfsd[83300]: Sent to rsync: adfsd.core<br />
rsync: link_stat &#8220;/var/ports/distfiles/adfs/adfs/source/adfsd.core&#8221; failed: No such file or directory (2)<br />
rsync error: some files could not be transferred (code 23) at main.c(702)<br />
adfsd[83300]: Sent 1 files to rsync<br />
adfsd[83300]: Partial rsync terminated with error 23<br />
adfsd[83300]: Sent to rsync:<br />
adfsd in free(): error: chunk is already free<br />
Abort (core dumped)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivoras</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2078</link>
		<dc:creator>ivoras</dc:creator>
		<pubDate>Thu, 27 Nov 2008 14:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2078</guid>
		<description>hash.h is in /usr/include/sys - it should be picked up automatically on FreeBSD 6+. Sorry about the warnings, just ignore them.</description>
		<content:encoded><![CDATA[<p>hash.h is in /usr/include/sys &#8211; it should be picked up automatically on FreeBSD 6+. Sorry about the warnings, just ignore them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-2077</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Thu, 27 Nov 2008 14:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-2077</guid>
		<description>make
gcc -o adfsd -Wall -g adfsd.c
adfsd.c:33:22: sys/hash.h: No such file or directory
adfsd.c:93: warning: &#039;debug_level&#039; defined but not used
adfsd.c:101: warning: &#039;stat_to_mini_stat&#039; defined but not used
*** Error code 1

Stop in /var/ports/distfiles/adfs/adfs.</description>
		<content:encoded><![CDATA[<p>make<br />
gcc -o adfsd -Wall -g adfsd.c<br />
adfsd.c:33:22: sys/hash.h: No such file or directory<br />
adfsd.c:93: warning: &#8216;debug_level&#8217; defined but not used<br />
adfsd.c:101: warning: &#8217;stat_to_mini_stat&#8217; defined but not used<br />
*** Error code 1</p>
<p>Stop in /var/ports/distfiles/adfs/adfs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivoras</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-1714</link>
		<dc:creator>ivoras</dc:creator>
		<pubDate>Fri, 24 Oct 2008 20:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-1714</guid>
		<description>10 MB. The whole approach of using kqueues for this appears to be flawed since kqueues coalesces requests. I don&#039;t think adfs should be used at all - something completely different will need to be implemented.</description>
		<content:encoded><![CDATA[<p>10 MB. The whole approach of using kqueues for this appears to be flawed since kqueues coalesces requests. I don&#8217;t think adfs should be used at all &#8211; something completely different will need to be implemented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-1713</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 24 Oct 2008 18:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-1713</guid>
		<description>What constitutes a &quot;large&quot; file?  Are we talking 10mb, 100mb, or gigs?</description>
		<content:encoded><![CDATA[<p>What constitutes a &#8220;large&#8221; file?  Are we talking 10mb, 100mb, or gigs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-1712</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 24 Oct 2008 18:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-1712</guid>
		<description>What constitutes a large file?</description>
		<content:encoded><![CDATA[<p>What constitutes a large file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivoras</title>
		<link>http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/comment-page-1/#comment-1272</link>
		<dc:creator>ivoras</dc:creator>
		<pubDate>Fri, 13 Jun 2008 23:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/#comment-1272</guid>
		<description>I cannot replicate problems with deleting files but I can for &#039;big&#039; files. I&#039;ll look into it.</description>
		<content:encoded><![CDATA[<p>I cannot replicate problems with deleting files but I can for &#8216;big&#8217; files. I&#8217;ll look into it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
