mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
Fix some typos
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org> Closes #15141
This commit is contained in:
parent
df8c9f351d
commit
c418edf1d3
@ -313,7 +313,7 @@ struct metaslab_group {
|
||||
* Each metaslab maintains a set of in-core trees to track metaslab
|
||||
* operations. The in-core free tree (ms_allocatable) contains the list of
|
||||
* free segments which are eligible for allocation. As blocks are
|
||||
* allocated, the allocated segment are removed from the ms_allocatable and
|
||||
* allocated, the allocated segments are removed from the ms_allocatable and
|
||||
* added to a per txg allocation tree (ms_allocating). As blocks are
|
||||
* freed, they are added to the free tree (ms_freeing). These trees
|
||||
* allow us to process all allocations and frees in syncing context
|
||||
@ -366,9 +366,9 @@ struct metaslab_group {
|
||||
struct metaslab {
|
||||
/*
|
||||
* This is the main lock of the metaslab and its purpose is to
|
||||
* coordinate our allocations and frees [e.g metaslab_block_alloc(),
|
||||
* coordinate our allocations and frees [e.g., metaslab_block_alloc(),
|
||||
* metaslab_free_concrete(), ..etc] with our various syncing
|
||||
* procedures [e.g. metaslab_sync(), metaslab_sync_done(), ..etc].
|
||||
* procedures [e.g., metaslab_sync(), metaslab_sync_done(), ..etc].
|
||||
*
|
||||
* The lock is also used during some miscellaneous operations like
|
||||
* using the metaslab's histogram for the metaslab group's histogram
|
||||
|
@ -1292,7 +1292,7 @@ metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor,
|
||||
|
||||
/*
|
||||
* If this metaslab group is below its qmax or it's
|
||||
* the only allocatable metasable group, then attempt
|
||||
* the only allocatable metaslab group, then attempt
|
||||
* to allocate from it.
|
||||
*/
|
||||
if (qdepth < qmax || mc->mc_alloc_groups == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user