Kernel panic in ONTAP 9.10.1 due to flexcache CIFS with string "incorrect link count 3 on empty directory"
Applies to
ONTAP 9.10.1
Issue
When delete-on-close mode is set on a directory with its streams on a FlexCache volume, and the last close is performed on a stream, FlexCache might send an uninitialized parameter to the origin asking it to delete the base of the stream which is the directory. Upon receiving the delete-on-close, the origin proceeds to unlink the directory which might not be empty and as a result controller disruption might occur with a panic string similar to the one below:
Panic String: incorrect link count 3 on empty directory {x0 0 101715 1014991255 1069} in volume volumename@vserver:<vserver_id>. WAFL inconsistent. Contact NetApp technical support. in SK process wafl_exempt13 on release 9.10.1P2 (C)