跳转到主内容

为什么在缓存端执行写入操作时、初始端的ls命令输出会出现延迟?

Views:
118
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9
  • FlexCache

问题解答

  • 在回写FlexCache环境中、新保存到缓存的数据应传输到 初始卷。
  • 运行ls 命令后、初始服务器将等待缓存完成新数据传输、这需要一些时间。

追加信息

  • 在缓存端进行写入时、如果在初始卷上执行ls 、则会从缓存中回收委派、从而导致其等待回写完成。
  • 当时、即使 在缓存端执行了另一个ls 、委派也正在初始端进行回收、由于尚未在初始端执行ls 命令、因此缓存端别无选择、只能等待。
  • 因此、回写完成后、委派将在初始端回收、并在该端执行ls 命令。
  • 之后、委派将传递回缓存端、并在缓存端执行ls 命令。
  • 虽然看起来ls 命令可能是同时执行的、但实际上、初始命令首先执行、然后执行缓存。

 

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.