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

Add session-id filter optimization to smbstatus

    XMLWordPrintable

    Details

      Description

      Add ability to filter efficiently based on session-id (PID). This is a two-part optimization. First is to add new switch to smbstatus to filter by user-provided session-id. Basically we bail out on locking tdb entries if they don't match the id so that output returned to middleware is minimized. Second, we add special handling for filter where `session_id = <pid>` to call this optimized version.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  awalker Andrew Walker
                  Reporter:
                  awalker Andrew Walker
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: