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:
Mateusz Piotrowski 2023-08-07 22:53:59 +02:00 committed by GitHub
parent e47e9bbe86
commit a97b8fc2dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -313,7 +313,7 @@ struct metaslab_group {
* Each metaslab maintains a set of in-core trees to track metaslab * Each metaslab maintains a set of in-core trees to track metaslab
* operations. The in-core free tree (ms_allocatable) contains the list of * operations. The in-core free tree (ms_allocatable) contains the list of
* free segments which are eligible for allocation. As blocks are * 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 * added to a per txg allocation tree (ms_allocating). As blocks are
* freed, they are added to the free tree (ms_freeing). These trees * freed, they are added to the free tree (ms_freeing). These trees
* allow us to process all allocations and frees in syncing context * allow us to process all allocations and frees in syncing context
@ -366,9 +366,9 @@ struct metaslab_group {
struct metaslab { struct metaslab {
/* /*
* This is the main lock of the metaslab and its purpose is to * 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 * 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 * The lock is also used during some miscellaneous operations like
* using the metaslab's histogram for the metaslab group's histogram * using the metaslab's histogram for the metaslab group's histogram

View File

@ -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 * 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. * to allocate from it.
*/ */
if (qdepth < qmax || mc->mc_alloc_groups == 1) if (qdepth < qmax || mc->mc_alloc_groups == 1)