<div dir="ltr">Thanks Ben,<div><br></div><div>This is helpful.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 4:50 PM, Ben Myers <span dir="ltr"><<a href="mailto:bpm@sgi.com" target="_blank">bpm@sgi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jason,<br>
<div class="im"><br>
On Fri, Jul 26, 2013 at 04:38:21PM -0400, Jason Rosenberg wrote:<br>
> Thanks for the info (most of it was, in fact, news to me). I'm an<br>
> application developer trying to debug a disk space problem, that's all. So<br>
> far, I've tracked it down to being an XFS issue.<br>
<br>
</div>The speculative block reservations have been an issue for awhile. You are not<br>
the first person to take issue with it.<br>
<div class="im"><br>
> Regardless, is there a version history for XFS vis-a-via mainline Linux?<br>
<br>
</div>You can find a full version history for XFS back to 2.6.12 or so here:<br>
<a href="http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs.git;a=summary" target="_blank">http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs.git;a=summary</a><br>
<br>
If you're interested in going older than that look here:<br>
<a href="http://oss.sgi.com/cgi-bin/gitweb.cgi?p=archive/xfs-import.git;a=summary" target="_blank">http://oss.sgi.com/cgi-bin/gitweb.cgi?p=archive/xfs-import.git;a=summary</a><br>
<br>
The function you'll most likely want to track is xfs_iomap_write_delay, which<br>
calls xfs_iomap_eof_want_preallocate, both of which are in fs/xfs/xfs_iomap.c.<br>
<br>
Recently Brian Foster added a scanner to remove the speculative block<br>
reservations on a timer which may give you some relief. See<br>
xfs_queue_eofblocks in fs/xfs/xfs_icache.c<br>
<br>
Regards,<br>
Ben<br>
<br>
</blockquote></div><br></div>