<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/btrfs/delalloc-space.c, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-02-08T21:58:54Z</updated>
<entry>
<title>btrfs: fix parameter description of btrfs_inode_rsv_release/btrfs_delalloc_release_space</title>
<updated>2021-02-08T21:58:54Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2021-01-22T09:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b762d1d08dacdc444ffd6417fc17805408da7af4'/>
<id>urn:sha1:b762d1d08dacdc444ffd6417fc17805408da7af4</id>
<content type='text'>
Fixes following warnings:

fs/btrfs/delalloc-space.c:205: warning: Function parameter or member 'inode' not described in 'btrfs_inode_rsv_release'
fs/btrfs/delalloc-space.c:205: warning: Function parameter or member 'qgroup_free' not described in 'btrfs_inode_rsv_release'
fs/btrfs/delalloc-space.c:472: warning: Function parameter or member 'reserved' not described in 'btrfs_delalloc_release_space'
fs/btrfs/delalloc-space.c:472: warning: Function parameter or member 'qgroup_free' not described in 'btrfs_delalloc_release_space'
fs/btrfs/delalloc-space.c:472: warning: Excess function parameter 'release_bytes' description in 'btrfs_delalloc_release_space'

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: add btrfs_reserve_data_bytes and use it</title>
<updated>2020-10-07T10:06:52Z</updated>
<author>
<name>Josef Bacik</name>
</author>
<published>2020-07-21T14:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8698fc4eb7884eeba29adc4193f9d05fa2bed16b'/>
<id>urn:sha1:8698fc4eb7884eeba29adc4193f9d05fa2bed16b</id>
<content type='text'>
Create a new function btrfs_reserve_data_bytes() in order to handle data
reservations.  This uses the new flush types and flush states to handle
making data reservations.

This patch specifically does not change any functionality, and is
purposefully not cleaned up in order to make bisection easier for the
future patches.  The new helper is identical to the old helper in how it
handles data reservations.  We first try to force a chunk allocation,
and then we run through the flush states all at once and in the same
order that they were done with the old helper.

Subsequent patches will clean this up and change the behavior of the
flushing, and it is important to keep those changes separate so we can
easily bisect down to the patch that caused the regression, rather than
the patch that made us start using the new infrastructure.

Reviewed-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Tested-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: Johannes Thumshirn &lt;johannes.thumshirn@wdc.com&gt;
Signed-off-by: Josef Bacik &lt;josef@toxicpanda.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: use the btrfs_space_info_free_bytes_may_use helper for delalloc</title>
<updated>2020-10-07T10:06:52Z</updated>
<author>
<name>Josef Bacik</name>
</author>
<published>2020-07-21T14:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39753e4a3a43c7d14a17f626f32d4a53ee59d563'/>
<id>urn:sha1:39753e4a3a43c7d14a17f626f32d4a53ee59d563</id>
<content type='text'>
We are going to use the ticket infrastructure for data, so use the
btrfs_space_info_free_bytes_may_use() helper in
btrfs_free_reserved_data_space_noquota() so we get the
btrfs_try_granting_tickets call when we free our reservation.

Reviewed-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: Johannes Thumshirn &lt;johannes.thumshirn@wdc.com&gt;
Tested-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Signed-off-by: Josef Bacik &lt;josef@toxicpanda.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: make btrfs_delalloc_reserve_space take btrfs_inode</title>
<updated>2020-07-27T10:55:36Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5b7231e2009967b63a39ce0ec6a022307616b82'/>
<id>urn:sha1:e5b7231e2009967b63a39ce0ec6a022307616b82</id>
<content type='text'>
All of its children take btrfs_inode so bubble up this requirement to
btrfs_delalloc_reserve_space's interface and stop calling BTRFS_I
internally.

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: make btrfs_check_data_free_space take btrfs_inode</title>
<updated>2020-07-27T10:55:36Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36ea6f3e931391c2adbb38af8c5dd4a043d26ac5'/>
<id>urn:sha1:36ea6f3e931391c2adbb38af8c5dd4a043d26ac5</id>
<content type='text'>
Instead of calling BTRFS_I on the passed vfs_inode take btrfs_inode
directly.

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: make btrfs_delalloc_release_space take btrfs_inode</title>
<updated>2020-07-27T10:55:36Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86d52921a2ba51a78e5bfb71c75aedcbd9e61a5c'/>
<id>urn:sha1:86d52921a2ba51a78e5bfb71c75aedcbd9e61a5c</id>
<content type='text'>
It needs btrfs_inode so take it as a parameter directly.

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: make btrfs_free_reserved_data_space take btrfs_inode</title>
<updated>2020-07-27T10:55:36Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25ce28caaa1ddc2ef8848c5a09e63a9bc0a5d455'/>
<id>urn:sha1:25ce28caaa1ddc2ef8848c5a09e63a9bc0a5d455</id>
<content type='text'>
It only uses btrfs_inode internally so take it as a parameter.

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: make btrfs_free_reserved_data_space_noquota take btrfs_fs_info</title>
<updated>2020-07-27T10:55:35Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9db5d510ac5bfeaedd1e05e6afa300dda1ea7f4f'/>
<id>urn:sha1:9db5d510ac5bfeaedd1e05e6afa300dda1ea7f4f</id>
<content type='text'>
No point in taking an inode only to get btrfs_fs_info from it, instead
take btrfs_fs_info directly.

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: make btrfs_qgroup_reserve_data take btrfs_inode</title>
<updated>2020-07-27T10:55:35Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7661a3e033ab782366e0e1f4b6aad0df3555fcbd'/>
<id>urn:sha1:7661a3e033ab782366e0e1f4b6aad0df3555fcbd</id>
<content type='text'>
There's only a single use of vfs_inode in a tracepoint so let's take
btrfs_inode directly.

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: make btrfs_qgroup_free_data take btrfs_inode</title>
<updated>2020-07-27T10:55:30Z</updated>
<author>
<name>Nikolay Borisov</name>
</author>
<published>2020-06-03T05:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b8a979f1fc69054f99abab80daeae89aba3f19b'/>
<id>urn:sha1:8b8a979f1fc69054f99abab80daeae89aba3f19b</id>
<content type='text'>
It passes btrfs_inode to its callee so change the interface.

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>
