arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt()
Instead of using ddi_get_lbolt(), ZFS should use gethrtime() for timekeeping to provides better time resolution. This bug focuses on one specific consumer of ddi_get_lbolt(), the arc_reclaim_thread. This bite-size bug won't change any functionality, but will provide a facility for future enhancements.
Updated by Electric Monk over 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit a8f6344fa0921599e1f4511e41b5f9a25c38c0f9 Author: Eli Rosenthal <email@example.com> Date: 2016-03-03T00:00:54.000Z 6672 arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt() 6673 want a macro to convert seconds to nanoseconds and vice-versa Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Prakash Surya <email@example.com> Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>