Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Documentation/ch-volume-management-intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ What changed:
* available data space decreased by 3GiB, usable roughly (50 - 3) + (100 - 3) = 144 GiB
* metadata redundancy increased

IOW, the unequal device sizes allow for combined space for data yet improved
redundancy for metadata. If we decide to increase redundancy of data as well,
we're going to lose 50GiB of the second device for obvious reasons.
In other words, the unequal device sizes allow for combined space for data yet
improved redundancy for metadata. If we decide to increase redundancy of data as
well, we're going to lose 50GiB of the second device for obvious reasons.

.. code-block:: bash

Expand Down
5 changes: 2 additions & 3 deletions kernel-shared/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1867,9 +1867,8 @@ static int leaf_space_used(const struct extent_buffer *l, int start, int nr)
}

/*
* The space between the end of the leaf items and
* the start of the leaf data. IOW, how much room
* the leaf has left for both items and data
* The space between the end of the leaf items and the start of the leaf data.
* In other words, how much room the leaf has left for both items and data
*/
int btrfs_leaf_free_space(const struct extent_buffer *leaf)
{
Expand Down