Skip to main content
NetApp Knowledge Base

What is Change Notify and why is there a high packet trace response time?

Views:
5,924
Visibility:
Public
Votes:
4
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Data ONTAP 7-Mode
  • CIFS/SMB

Answer

  • The response time is the delta between watched folder changes, but it is not required to per SMB spec so the updates only happen when a change actually occurs
  • Change Notify is a function of CIFS/SMB which sends any folder updates to the client
    • Example: If two users have the same folder open, and one users deletes a file, a change notify update is sent to the second user of the deleted file
    • This saves client CPU cycles because the user doesn't have to refresh the whole folder if a large one, just the changes
  • Change Notify only updates when the folder being monitored (for example when Windows Explorer is open on a share) has a file update

Additional Information

  • The SMB2 Change Notify specification points to this separate specific part on waiting:
    • "Wait until the following conditions are satisfied:
      • There are one or more elements in ChangeNotifyEntry.NotifyEventList.
      • This change notification request is the oldest outstanding request on this Open. This means multiple change notification requests on the same Open are completed sequentially and in first-in-first-out (FIFO) order.
      • The operation is canceled as specified in section 2.1.5.19."

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.