<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/fs/xfs/libxfs/xfs_rmap_btree.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2024-09-01T15:58:20Z</updated>
<entry>
<title>xfs: standardize the btree maxrecs function parameters</title>
<updated>2024-09-01T15:58:20Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@kernel.org</email>
</author>
<published>2024-08-30T22:37:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=411a71256de6f5a0015a28929cfbe6bc36c503dc'/>
<id>urn:sha1:411a71256de6f5a0015a28929cfbe6bc36c503dc</id>
<content type='text'>
Standardize the parameters in xfs_{alloc,bm,ino,rmap,refcount}bt_maxrecs
so that we have consistent calling conventions.  This doesn't affect the
kernel that much, but enables us to clean up userspace a bit.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>xfs: create a shadow rmap btree during rmap repair</title>
<updated>2024-02-22T20:43:39Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@kernel.org</email>
</author>
<published>2024-02-22T20:43:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4787fc802752c9b73b28ff18860c0560bf4337f2'/>
<id>urn:sha1:4787fc802752c9b73b28ff18860c0560bf4337f2</id>
<content type='text'>
Create an in-memory btree of rmap records instead of an array.  This
enables us to do live record collection instead of freezing the fs.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>xfs: remove xfs_rmapbt_stage_cursor</title>
<updated>2024-02-22T20:39:42Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2024-02-22T20:39:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1317813290be04bc37196c4adf457712238c7faa'/>
<id>urn:sha1:1317813290be04bc37196c4adf457712238c7faa</id>
<content type='text'>
xfs_rmapbt_stage_cursor is currently unused, but future callers can
trivially open code the two calls.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
</content>
</entry>
<entry>
<title>xfs: use separate btree cursor cache for each btree type</title>
<updated>2021-10-19T18:45:16Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@kernel.org</email>
</author>
<published>2021-09-23T19:21:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9fa47bdcd33b117599e9ee3f2e315cb47939ac2d'/>
<id>urn:sha1:9fa47bdcd33b117599e9ee3f2e315cb47939ac2d</id>
<content type='text'>
Now that we have the infrastructure to track the max possible height of
each btree type, we can create a separate slab cache for cursors of each
type of btree.  For smaller indices like the free space btrees, this
means that we can pack more cursors into a slab page, improving slab
utilization.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
</content>
</entry>
<entry>
<title>xfs: compute absolute maximum nlevels for each btree type</title>
<updated>2021-10-19T18:45:16Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@kernel.org</email>
</author>
<published>2021-09-23T17:32:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0ed5f7356daee74244b02e100b3cc043e886e686'/>
<id>urn:sha1:0ed5f7356daee74244b02e100b3cc043e886e686</id>
<content type='text'>
Add code for all five btree types so that we can compute the absolute
maximum possible btree height for each btree type.  This is a setup for
the next patch, which makes every btree type have its own cursor cache.

The functions are exported so that we can have xfs_db report the
absolute maximum btree heights for each btree type, rather than making
everyone run their own ad-hoc computations.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Dave Chinner &lt;dchinner@redhat.com&gt;
</content>
</entry>
<entry>
<title>xfs: fix silly whitespace problems with kernel libxfs</title>
<updated>2021-08-09T18:13:17Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>djwong@kernel.org</email>
</author>
<published>2021-08-06T18:05:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b7df7630cccd103671b14b946bcdb3b14be75d68'/>
<id>urn:sha1:b7df7630cccd103671b14b946bcdb3b14be75d68</id>
<content type='text'>
Fix a few whitespace errors such as spaces at the end of the line, etc.
This gets us back to something more closely resembling parity.

Signed-off-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Chandan Babu R &lt;chandanrlinux@gmail.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>xfs: convert rmap btree cursor to using a perag</title>
<updated>2021-06-02T00:48:24Z</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2021-06-02T00:48:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fa9c3c197329fdab0efc48a8944d2c4a21c6a74f'/>
<id>urn:sha1:fa9c3c197329fdab0efc48a8944d2c4a21c6a74f</id>
<content type='text'>
Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;

</content>
</entry>
<entry>
<title>xfs: add a perag to the btree cursor</title>
<updated>2021-06-02T00:48:24Z</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2021-06-02T00:48:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=be9fb17d88f08af648a89784d30dbac83d893154'/>
<id>urn:sha1:be9fb17d88f08af648a89784d30dbac83d893154</id>
<content type='text'>
Which will eventually completely replace the agno in it.

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;

</content>
</entry>
<entry>
<title>xfs: push perags through the ag reservation callouts</title>
<updated>2021-06-02T00:48:24Z</updated>
<author>
<name>Dave Chinner</name>
<email>dchinner@redhat.com</email>
</author>
<published>2021-06-02T00:48:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=30933120ad79f4549d6e364df7eda474cc0d9c65'/>
<id>urn:sha1:30933120ad79f4549d6e364df7eda474cc0d9c65</id>
<content type='text'>
We currently pass an agno from the AG reservation functions to the
individual feature accounting functions, which in future may have to
do perag lookups to access per-AG state. Instead, pre-emptively
plumb the perag through from the highest AG reservation layer to the
feature callouts so they won't have to look it up again.

Signed-off-by: Dave Chinner &lt;dchinner@redhat.com&gt;
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;

</content>
</entry>
<entry>
<title>xfs: add support for rmap btree staging cursors</title>
<updated>2020-03-18T15:12:23Z</updated>
<author>
<name>Darrick J. Wong</name>
<email>darrick.wong@oracle.com</email>
</author>
<published>2020-03-11T18:11:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=59d677127cf1543b2978aca3be8c8395f3a17973'/>
<id>urn:sha1:59d677127cf1543b2978aca3be8c8395f3a17973</id>
<content type='text'>
Add support for btree staging cursors for the rmap btrees.  This is
needed both for online repair and also to convert xfs_repair to use
btree bulk loading.

Signed-off-by: Darrick J. Wong &lt;darrick.wong@oracle.com&gt;
Reviewed-by: Brian Foster &lt;bfoster@redhat.com&gt;
</content>
</entry>
</feed>
