<?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"
	>
<channel>
	<title>Comments on: Old, old bug</title>
	<atom:link href="http://www.shiningsilence.com/dbsdlog/2008/05/09/2825.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shiningsilence.com/dbsdlog/2008/05/09/2825.html</link>
	<description>A running description of activity related to DragonFly BSD.</description>
	<pubDate>Mon, 01 Dec 2008 21:08:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Lazarus</title>
		<link>http://www.shiningsilence.com/dbsdlog/2008/05/09/2825.html#comment-23694</link>
		<dc:creator>Lazarus</dc:creator>
		<pubDate>Sat, 10 May 2008 22:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiningsilence.com/dbsdlog/?p=2825#comment-23694</guid>
		<description>"&lt;I&gt;Marc and worked out the issues and I am going to commit his fix, because
    it can't hurt, but unfortunately there is a DragonFly-specific issue
    due to our modern readdir which translate directory entries into
    a filesystem-independant form.

    And, stupid me, when I created the dirent structure I didn't add enough
    reserved fields to hold what we need, which is a full blown cookie for
    each entry.  We only have 40 bits worth of unused fields and we need
    64 bits. &lt;B&gt;I don't dare change that structure now, it would require
    every single application ever written to be recompiled.&lt;/B&gt;

    It may be possible to store a filename hash in the unused fields and
    then match up against the hash instead of the buffer position.  The
    problem with that though is that it would not be perfect or even close
    to perfect."&lt;/I&gt;

Anyone else think that said structure should just be increased to 64 bits from 40 so we can all be done with it? In a follow-up email it was suggested that this be done for DragonFly 2.0 despite the changes requiring a complete rebuild of third party programs. 

It seems to me to be the best way to go about things as DragonFly is in a good place right now; there's plenty of people interested in it, but there is not such a massive installed base in existence requiring the developers to worry *too* much about not breaking things for the sake of backwards compatibility. 

I understand that my opinion matters little in a project I'm not actively involved in, but for what it's worth, that'd be my vote. Fix it for 2.0 and rebuild apps as needed.</description>
		<content:encoded><![CDATA[<p>&#8220;<i>Marc and worked out the issues and I am going to commit his fix, because<br />
    it can&#8217;t hurt, but unfortunately there is a DragonFly-specific issue<br />
    due to our modern readdir which translate directory entries into<br />
    a filesystem-independant form.</p>
<p>    And, stupid me, when I created the dirent structure I didn&#8217;t add enough<br />
    reserved fields to hold what we need, which is a full blown cookie for<br />
    each entry.  We only have 40 bits worth of unused fields and we need<br />
    64 bits. <b>I don&#8217;t dare change that structure now, it would require<br />
    every single application ever written to be recompiled.</b></p>
<p>    It may be possible to store a filename hash in the unused fields and<br />
    then match up against the hash instead of the buffer position.  The<br />
    problem with that though is that it would not be perfect or even close<br />
    to perfect.&#8221;</i></p>
<p>Anyone else think that said structure should just be increased to 64 bits from 40 so we can all be done with it? In a follow-up email it was suggested that this be done for DragonFly 2.0 despite the changes requiring a complete rebuild of third party programs. </p>
<p>It seems to me to be the best way to go about things as DragonFly is in a good place right now; there&#8217;s plenty of people interested in it, but there is not such a massive installed base in existence requiring the developers to worry *too* much about not breaking things for the sake of backwards compatibility. </p>
<p>I understand that my opinion matters little in a project I&#8217;m not actively involved in, but for what it&#8217;s worth, that&#8217;d be my vote. Fix it for 2.0 and rebuild apps as needed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
