Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108491

lib/tevent - fix processing of messaging idle timer

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 12.0-U1
    • Component/s: None
    • Labels:
      None

      Description

      PR: https://github.com/freenas/ports/pull/909

      The pluggable backend for libtevent lacks a entry for update_timer
      in tevent_ops(). This function from lib/tevent/tevent_timed.c is
      called in messaging_dgm_out_rearm_idle_timer in s3/lib/messages_dgm.c.

      This implements minimal fix to replace the standard timer_update()
      function with a call to update the existing kevent. Future fix will expand tevent_ops()
      to include an update_timer operation.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Triage Team
                  Reporter:
                  bugclerk Bug Clerk
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: