Skip to content

Commit c418edf

Browse files
0mpbehlendorf
authored andcommitted
Fix some typos
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Mateusz Piotrowski <[email protected]> Closes #15141
1 parent df8c9f3 commit c418edf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/sys/metaslab_impl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ struct metaslab_group {
313313
* Each metaslab maintains a set of in-core trees to track metaslab
314314
* operations. The in-core free tree (ms_allocatable) contains the list of
315315
* free segments which are eligible for allocation. As blocks are
316-
* allocated, the allocated segment are removed from the ms_allocatable and
316+
* allocated, the allocated segments are removed from the ms_allocatable and
317317
* added to a per txg allocation tree (ms_allocating). As blocks are
318318
* freed, they are added to the free tree (ms_freeing). These trees
319319
* allow us to process all allocations and frees in syncing context
@@ -366,9 +366,9 @@ struct metaslab_group {
366366
struct metaslab {
367367
/*
368368
* This is the main lock of the metaslab and its purpose is to
369-
* coordinate our allocations and frees [e.g metaslab_block_alloc(),
369+
* coordinate our allocations and frees [e.g., metaslab_block_alloc(),
370370
* metaslab_free_concrete(), ..etc] with our various syncing
371-
* procedures [e.g. metaslab_sync(), metaslab_sync_done(), ..etc].
371+
* procedures [e.g., metaslab_sync(), metaslab_sync_done(), ..etc].
372372
*
373373
* The lock is also used during some miscellaneous operations like
374374
* using the metaslab's histogram for the metaslab group's histogram

module/zfs/metaslab.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor,
12921292

12931293
/*
12941294
* If this metaslab group is below its qmax or it's
1295-
* the only allocatable metasable group, then attempt
1295+
* the only allocatable metaslab group, then attempt
12961296
* to allocate from it.
12971297
*/
12981298
if (qdepth < qmax || mc->mc_alloc_groups == 1)

0 commit comments

Comments
 (0)