mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-22 08:51:30 +03:00
arc: fix small typos
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Shreshth Srivastava <shreshthsrivastava2@gmail.com> Closes #17840
This commit is contained in:
parent
0e62831110
commit
a5af3f2db7
@ -1157,7 +1157,7 @@ buf_fini(void)
|
|||||||
#if defined(_KERNEL)
|
#if defined(_KERNEL)
|
||||||
/*
|
/*
|
||||||
* Large allocations which do not require contiguous pages
|
* Large allocations which do not require contiguous pages
|
||||||
* should be using vmem_free() in the linux kernel\
|
* should be using vmem_free() in the linux kernel.
|
||||||
*/
|
*/
|
||||||
vmem_free(buf_hash_table.ht_table,
|
vmem_free(buf_hash_table.ht_table,
|
||||||
(buf_hash_table.ht_mask + 1) * sizeof (void *));
|
(buf_hash_table.ht_mask + 1) * sizeof (void *));
|
||||||
@ -4651,10 +4651,10 @@ arc_flush_task(void *arg)
|
|||||||
arc_flush_impl(spa_guid, B_FALSE);
|
arc_flush_impl(spa_guid, B_FALSE);
|
||||||
arc_async_flush_remove(spa_guid, af->af_cache_level);
|
arc_async_flush_remove(spa_guid, af->af_cache_level);
|
||||||
|
|
||||||
uint64_t elaspsed = NSEC2MSEC(gethrtime() - start_time);
|
uint64_t elapsed = NSEC2MSEC(gethrtime() - start_time);
|
||||||
if (elaspsed > 0) {
|
if (elapsed > 0) {
|
||||||
zfs_dbgmsg("spa %llu arc flushed in %llu ms",
|
zfs_dbgmsg("spa %llu arc flushed in %llu ms",
|
||||||
(u_longlong_t)spa_guid, (u_longlong_t)elaspsed);
|
(u_longlong_t)spa_guid, (u_longlong_t)elapsed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9152,7 +9152,7 @@ top:
|
|||||||
if (dev->l2ad_first) {
|
if (dev->l2ad_first) {
|
||||||
/*
|
/*
|
||||||
* This is the first sweep through the device. There is
|
* This is the first sweep through the device. There is
|
||||||
* nothing to evict. We have already trimmmed the
|
* nothing to evict. We have already trimmed the
|
||||||
* whole device.
|
* whole device.
|
||||||
*/
|
*/
|
||||||
goto out;
|
goto out;
|
||||||
@ -10086,12 +10086,12 @@ l2arc_device_teardown(void *arg)
|
|||||||
kmem_free(remdev->l2ad_dev_hdr, remdev->l2ad_dev_hdr_asize);
|
kmem_free(remdev->l2ad_dev_hdr, remdev->l2ad_dev_hdr_asize);
|
||||||
vmem_free(remdev, sizeof (l2arc_dev_t));
|
vmem_free(remdev, sizeof (l2arc_dev_t));
|
||||||
|
|
||||||
uint64_t elaspsed = NSEC2MSEC(gethrtime() - start_time);
|
uint64_t elapsed = NSEC2MSEC(gethrtime() - start_time);
|
||||||
if (elaspsed > 0) {
|
if (elapsed > 0) {
|
||||||
zfs_dbgmsg("spa %llu, vdev %llu removed in %llu ms",
|
zfs_dbgmsg("spa %llu, vdev %llu removed in %llu ms",
|
||||||
(u_longlong_t)rva->rva_spa_gid,
|
(u_longlong_t)rva->rva_spa_gid,
|
||||||
(u_longlong_t)rva->rva_vdev_gid,
|
(u_longlong_t)rva->rva_vdev_gid,
|
||||||
(u_longlong_t)elaspsed);
|
(u_longlong_t)elapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rva->rva_async)
|
if (rva->rva_async)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user