跳转到主内容

什么是更改通知?为什么数据包跟踪响应时间较长?

适用场景

  • ONTAP 9
  • Data ONTAP 7-模式
  • CIFS/SMB

问题解答

  • 响应时间是受监控文件夹更改之间的差值、但根据SMB规范并不要求这样做、因此只有在实际发生更改时才会进行更新
  • Change Notify是CIFS或SMB的一项功能、用于向客户端发送任何文件夹更新
    • 示例: 如果两个用户打开了同一个文件夹、而一个用户删除了一个文件、则会向已删除文件的第二个用户发送Change Notify更新
    • 这样可以节省客户端CPU周期、因为如果文件夹较大、用户不必刷新整个文件夹、只需刷新所做的更改即可
  • 只有当所监控的文件夹(例如、在共享上打开Windows资源管理器时)具有文件更新时、Change Notify才会更新

追加信息

  • SMB2 Change Notify规范 指向了 等待时的这一单独的特定部分
    • "等待满足以下条件:
      • ChangeNotityEntry.NotityEventList中有一个或多个元素。
      • 此变更通知请求是此“未决”上最早的未决请求。这意味着、同一个"未决"中的多个变更通知请求将按顺序并按先进先出(FIFO)顺序完成。
      • 操作已按照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.