<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/fs/xfs/xfs_ialloc.c, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2014-06-25T04:57:53+00:00</updated>
<entry>
<title>libxfs: move source files</title>
<updated>2014-06-25T04:57:53+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2014-06-25T04:57:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=30f712c9dd69348aa51351d5cb6d366bf4fae31d'/>
<id>urn:sha1:30f712c9dd69348aa51351d5cb6d366bf4fae31d</id>
<content type='text'>
Move all the source files that are shared with userspace into
libxfs/. This is done as one big chunk simpy to get it done
quickly

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;

</content>
</entry>
<entry>
<title>xfs: Nuke XFS_ERROR macro</title>
<updated>2014-06-22T05:04:54+00:00</updated>
<author>
<name>Eric Sandeen</name>
<email>sandeen@sandeen.net</email>
</author>
<published>2014-06-22T05:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b474c7ae4395ba684e85fde8f55c8cf44a39afaf'/>
<id>urn:sha1:b474c7ae4395ba684e85fde8f55c8cf44a39afaf</id>
<content type='text'>
XFS_ERROR was designed long ago to trap return values, but it's not
runtime configurable, it's not consistently used, and we can do
similar error trapping with ftrace scripts and triggers from
userspace.

Just nuke XFS_ERROR and associated bits.

Signed-off-by: Eric Sandeen &lt;sandeen@redhat.com&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;

</content>
</entry>
<entry>
<title>Merge branch 'xfs-misc-fixes-3-for-3.16' into for-next</title>
<updated>2014-06-09T21:32:56+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>david@fromorbit.com</email>
</author>
<published>2014-06-09T21:32:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7691283d0561a350b7517be94818669fb5e3d910'/>
<id>urn:sha1:7691283d0561a350b7517be94818669fb5e3d910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xfs: kill xfs_buf_geterror()</title>
<updated>2014-06-06T06:02:12+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2014-06-06T06:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=36de95567f910f5544060f50346d8677ae13ad22'/>
<id>urn:sha1:36de95567f910f5544060f50346d8677ae13ad22</id>
<content type='text'>
Most of the callers are just calling ASSERT(!xfs_buf_geterror())
which means they are checking for bp-&gt;b_error == 0. If bp is null in
this case, we will assert fail, and hence it's no different in
result to oopsing because of a null bp. In some cases, errors have
already been checked for or the function returning the buffer can't
return a buffer with an error, so it's just a redundant assert.
Either way, the assert can either be removed.

The other two non-assert callers can just test for a buffer and
error properly.

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;



</content>
</entry>
<entry>
<title>Merge branch 'xfs-feature-bit-cleanup' into for-next</title>
<updated>2014-05-19T22:57:02+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>david@fromorbit.com</email>
</author>
<published>2014-05-19T22:57:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b70f14e1ffbb47369b1cc2cdf558c3468ae9e484'/>
<id>urn:sha1:b70f14e1ffbb47369b1cc2cdf558c3468ae9e484</id>
<content type='text'>
Conflicts:
	fs/xfs/xfs_inode.c
</content>
</entry>
<entry>
<title>Merge branch 'xfs-misc-fixes-2-for-3.16' into for-next</title>
<updated>2014-05-19T22:56:00+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>david@fromorbit.com</email>
</author>
<published>2014-05-19T22:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0d907a3bb4a77cffebebd17c323e898048301aa3'/>
<id>urn:sha1:0d907a3bb4a77cffebebd17c323e898048301aa3</id>
<content type='text'>
Conflicts:
	fs/xfs/xfs_ialloc.c
</content>
</entry>
<entry>
<title>xfs: fix compile error when libxfs header used in C++ code</title>
<updated>2014-05-19T22:52:21+00:00</updated>
<author>
<name>Roger Willcocks</name>
<email>roger@filmlight.ltd.uk</email>
</author>
<published>2014-05-19T22:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=376c2f3a5f0706868b08ccf043bf3532936a03b1'/>
<id>urn:sha1:376c2f3a5f0706868b08ccf043bf3532936a03b1</id>
<content type='text'>
xfs_ialloc.h:102: error: expected ',' or '...' before 'delete'

Simple parameter rename, no changes to behaviour.

Signed-off-by: Roger Willcocks &lt;roger@filmlight.ltd.uk&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;


</content>
</entry>
<entry>
<title>xfs: turn NLINK feature on by default</title>
<updated>2014-05-19T21:46:40+00:00</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2014-05-19T21:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=263997a6842b27a49f42bd795c5dd12242917b22'/>
<id>urn:sha1:263997a6842b27a49f42bd795c5dd12242917b22</id>
<content type='text'>
mkfs has turned on the XFS_SB_VERSION_NLINKBIT feature bit by
default since November 2007. It's about time we simply made the
kernel code turn it on by default and so always convert v1 inodes to
v2 inodes when reading them in from disk or allocating them. This
This removes needless version checks and modification when bumping
link counts on inodes, and will take code out of a few common code
paths.

   text    data     bss     dec     hex filename
 783251  100867     616  884734   d7ffe fs/xfs/xfs.o.orig
 782664  100867     616  884147   d7db3 fs/xfs/xfs.o.patched

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;

</content>
</entry>
<entry>
<title>xfs: update the finobt on inode free</title>
<updated>2014-04-24T06:00:53+00:00</updated>
<author>
<name>Brian Foster</name>
<email>bfoster@redhat.com</email>
</author>
<published>2014-04-24T06:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3efa4ffd58a04f859713daaf910f1f1ff8ef647f'/>
<id>urn:sha1:3efa4ffd58a04f859713daaf910f1f1ff8ef647f</id>
<content type='text'>
An inode free operation can have several effects on the finobt. If
all inodes have been freed and the chunk deallocated, we remove the
finobt record. If the inode chunk was previously full, we must
insert a new record based on the existing inobt record. Otherwise,
we modify the record in place.

Create the xfs_difree_finobt() function to identify the potential
scenarios and update the finobt appropriately.

Signed-off-by: Brian Foster &lt;bfoster@redhat.com&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;

</content>
</entry>
<entry>
<title>xfs: refactor xfs_difree() inobt bits into xfs_difree_inobt() helper</title>
<updated>2014-04-24T06:00:53+00:00</updated>
<author>
<name>Brian Foster</name>
<email>bfoster@redhat.com</email>
</author>
<published>2014-04-24T06:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2b64ee5cdc106704b5c0f8954a52aa598eee25eb'/>
<id>urn:sha1:2b64ee5cdc106704b5c0f8954a52aa598eee25eb</id>
<content type='text'>
Refactor xfs_difree() in preparation for the finobt. xfs_difree()
performs the validity checks against the ag and reads the agi
header. The work of physically updating the inode allocation btree
is pushed down into the new xfs_difree_inobt() helper.

Signed-off-by: Brian Foster &lt;bfoster@redhat.com&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;

</content>
</entry>
</feed>
