Thread (10 messages) 10 messages, 2 authors, 2021-11-04

Re: [PATCH 4/4] btrfs: change root to fs_info for btrfs_reserve_metadata_bytes

From: Nikolay Borisov <hidden>
Date: 2021-11-04 13:40:55


On 28.10.21 г. 22:50, Josef Bacik wrote:
We used to need the root for btrfs_reserve_metadata_bytes to check the
orphan cleanup state, but we no longer need that, we simply need the
fs_info.  Change btrfs_reserve_metadata_bytes() to use the fs_info, and
change both btrfs_block_rsv_refill() and btrfs_block_rsv_add() to do the
same as they simply call btrfs_reserve_metadata_bytes() and then
manipulate the block_rsv that is being used.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>

Reviewed-by: Nikolay Borisov <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help