<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/btrfs/tests, branch linux-4.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-15T15:23:34Z</updated>
<entry>
<title>btrfs: tests: add separate stub for find_lock_delalloc_range</title>
<updated>2018-10-15T15:23:34Z</updated>
<author>
<name>David Sterba</name>
</author>
<published>2018-08-17T15:28:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c36396c2a788facd4282a2b0646a1c4ac19847a'/>
<id>urn:sha1:9c36396c2a788facd4282a2b0646a1c4ac19847a</id>
<content type='text'>
The helper find_lock_delalloc_range is now conditionally built static,
dpending on whether the self-tests are enabled or not. There's a macro
that is supposed to hide the export, used only once. To discourage
further use, drop it an add a public wrapper for the helper needed by
tests.

Reviewed-by: Omar Sandoval &lt;osandov@fb.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: extent_map: use rb_first_cached</title>
<updated>2018-10-15T15:23:33Z</updated>
<author>
<name>Liu Bo</name>
</author>
<published>2018-08-22T19:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07e1ce096db3605f3e0c98695df66a51e2be9f05'/>
<id>urn:sha1:07e1ce096db3605f3e0c98695df66a51e2be9f05</id>
<content type='text'>
rb_first_cached() trades an extra pointer "leftmost" for doing the
same job as rb_first() but in O(1).

As evict_inode_truncate_pages() removes all extent mapping by always
looking for the first rb entry, it's helpful to use rb_first_cached
instead.

For more details about the optimization see patch "Btrfs: delayed-refs:
use rb_first_cached for href_root".

Tested-by: Holger Hoffstätte &lt;holger@applied-asynchrony.com&gt;
Signed-off-by: Liu Bo &lt;bo.liu@linux.alibaba.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_account_extent</title>
<updated>2018-08-06T11:12:52Z</updated>
<author>
<name>Lu Fengqi</name>
</author>
<published>2018-07-18T06:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8696d76045579c9611fe1cfc064e48ada32bb796'/>
<id>urn:sha1:8696d76045579c9611fe1cfc064e48ada32bb796</id>
<content type='text'>
It can be fetched from the transaction handle.

Signed-off-by: Lu Fengqi &lt;lufq.fnst@cn.fujitsu.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: qgroup: Drop fs_info parameter from btrfs_create_qgroup</title>
<updated>2018-08-06T11:12:51Z</updated>
<author>
<name>Lu Fengqi</name>
</author>
<published>2018-07-18T06:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49a05ecde3f130ae9d69ab619e3ea125cf1f32c9'/>
<id>urn:sha1:49a05ecde3f130ae9d69ab619e3ea125cf1f32c9</id>
<content type='text'>
It can be fetched from the transaction handle.

Signed-off-by: Lu Fengqi &lt;lufq.fnst@cn.fujitsu.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: tests: drop newline from test_msg strings</title>
<updated>2018-05-29T16:12:52Z</updated>
<author>
<name>David Sterba</name>
</author>
<published>2018-05-16T22:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=315b76b46232758836f2d431e0963567f796116f'/>
<id>urn:sha1:315b76b46232758836f2d431e0963567f796116f</id>
<content type='text'>
Now that test_err strings do not need the newline, remove them also from
the test_msg.

Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: tests: add helper for error messages and update them</title>
<updated>2018-05-29T16:12:51Z</updated>
<author>
<name>David Sterba</name>
</author>
<published>2018-05-16T22:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c7251f2f8888086c5769f83651018a5494f784b'/>
<id>urn:sha1:3c7251f2f8888086c5769f83651018a5494f784b</id>
<content type='text'>
The test failures are not clearly visible in the system log as they're
printed at INFO level. Add a new helper that is level ERROR. As this
touches almost all strings, I took the opportunity to unify them:

- decapitalize the first letter as there's a prefix and the text
  continues after ":"
- glue strings split to more lines and un-indent so they fit to 80
  columns
- use %llu instead of %Lu
- drop \n from the modified messages (test_msg is left untouched)

Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: Remove fs_info argument from __remove_from_free_space_tree</title>
<updated>2018-05-28T16:07:35Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2018-05-10T12:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c31683a6efe5517043c23eada0647c1535f865fe'/>
<id>urn:sha1:c31683a6efe5517043c23eada0647c1535f865fe</id>
<content type='text'>
This function takes a transaction handle which holds a reference to
fs_info. So use that and remove the extra argument.

Signed-off-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: Remove fs_info parameter from convert_free_space_to_extents</title>
<updated>2018-05-28T16:07:34Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2018-05-10T12:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5296c2bf51700451062dda22cd03c01d0104ccbc'/>
<id>urn:sha1:5296c2bf51700451062dda22cd03c01d0104ccbc</id>
<content type='text'>
This function always takes a transaction handle which contains a
reference to fs_info. So use that and kill the extra argument.

Signed-off-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: Remove fs_info argument from convert_free_space_to_bitmaps</title>
<updated>2018-05-28T16:07:34Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2018-05-10T12:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=719fb4de5508f5fdf230ed4a76f6f830497a8f82'/>
<id>urn:sha1:719fb4de5508f5fdf230ed4a76f6f830497a8f82</id>
<content type='text'>
This function already takes a transaction handle which contains a
reference to fs_info. So use that and remove the extra argument.

Signed-off-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: Remove fs_info parameter from remove_block_group_free_space</title>
<updated>2018-05-28T16:07:34Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2018-05-10T12:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3f7277995675d632a3e42144e1a4c9b0cc58d44'/>
<id>urn:sha1:f3f7277995675d632a3e42144e1a4c9b0cc58d44</id>
<content type='text'>
This function always takes a trans handle which contains a reference to
the fs_info. Use that and remove the extra argument.

Signed-off-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
</feed>
