<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:48:20 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-18649] Enable sync_file_range and possibly fallocate for WiredTiger</title>
                <link>https://jira.mongodb.org/browse/SERVER-18649</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The simplest first step would be to verify that if you manually toggle &lt;tt&gt;HAVE_FALLOCATE&lt;/tt&gt; and &lt;tt&gt;HAVE_SYNC_FILE_RANGE&lt;/tt&gt; in the appropriate pre-generated config.h headers in src/third_party/wiredtiger/build_*, that a patch build works.&lt;/p&gt;</description>
                <environment></environment>
        <key id="206381">SERVER-18649</key>
            <summary>Enable sync_file_range and possibly fallocate for WiredTiger</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="david.hows">David Hows</assignee>
                                    <reporter username="michael.cahill@mongodb.com">Michael Cahill</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 May 2015 06:51:28 +0000</created>
                <updated>Fri, 5 Feb 2016 14:28:52 +0000</updated>
                            <resolved>Mon, 6 Jul 2015 01:22:10 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="958043" author="xgen-internal-githook" created="Sun, 5 Jul 2015 23:55:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;daveh86&apos;, u&apos;name&apos;: u&apos;David Hows&apos;, u&apos;email&apos;: u&apos;howsdav@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18649&quot; title=&quot;Enable sync_file_range and possibly fallocate for WiredTiger&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18649&quot;&gt;&lt;del&gt;SERVER-18649&lt;/del&gt;&lt;/a&gt; sync_file_range and fallocate for WT&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7eee5d26b061ec465af0328f18425d568e252fa2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7eee5d26b061ec465af0328f18425d568e252fa2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="928699" author="ernie.hershey@10gen.com" created="Mon, 1 Jun 2015 15:50:01 +0000"  >&lt;p&gt;As long as the check is in the main SConstruct, the per-platform builds will run it and set the macro or not as part of the normal build process so we shouldn&apos;t have to do anything special. &lt;/p&gt;</comment>
                            <comment id="925552" author="michael.cahill" created="Thu, 28 May 2015 05:22:08 +0000"  >&lt;p&gt;WiredTiger will deal with it just fine if &lt;tt&gt;HAVE_FALLOCATE&lt;/tt&gt; is defined in some builds but not others.&lt;/p&gt;

&lt;p&gt;If we can use &lt;tt&gt;fallocate&lt;/tt&gt; when it is available (as opposed to the lowest common denominator approach we&apos;re currently taking), that will make WiredTiger more efficient.  In particular, by pre-allocating space for log files, flushing the log should only be a single I/O rather than flushing the log data and also the log file metadata (because the file was extended).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daveh86&quot; class=&quot;user-hover&quot; rel=&quot;daveh86&quot;&gt;daveh86&lt;/a&gt;, can you please add &lt;tt&gt;HAVE_SYNC_FILE_RANGE&lt;/tt&gt; directly to all Linux builds (since it&apos;s available everywhere), and work up a change to have scons check for the existence of &lt;tt&gt;fallocate&lt;/tt&gt;?&lt;/p&gt;</comment>
                            <comment id="925238" author="ernie.hershey@10gen.com" created="Wed, 27 May 2015 20:59:15 +0000"  >&lt;p&gt;It sounds like a somewhat typical configure-time check that we have many of in scons. Are there complications if it&apos;s only on in some platforms vs. being off as it is now? &lt;/p&gt;</comment>
                            <comment id="924187" author="david.hows" created="Wed, 27 May 2015 02:16:45 +0000"  >&lt;p&gt;Two options here,&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;We can modify the config.h has suggested&lt;/li&gt;
	&lt;li&gt;We can modify the SConscript to detect if sync_file_range and fallocate are available and thus set the particular options (the check would besimilar to how wiredtigers autoconf check works)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Just checked and fallocate is unavailable on RHEL5.5&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 27 May 2015 02:16:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 32 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 32 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.hows</customfieldvalue>
            <customfieldvalue>ernie.hershey@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>michael.cahill@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl4zb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs9o6n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsfzyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>