I activated the dynamic debugging for readdir.c as Nish Aravamudan suggested.
However this does not produce any output in the kernel log since (as I understand) most of the debug logging (cifs_dbg) is of type FYI which must be activated seperately in the code by setting cifsFYI (in fs/cifs/cifsfs.c) to CIFS_INFO. I think to do so, I have to recompile the kernel as Uwe Honermann suggested.
Doing so, will that help anybody here?
As a reminder: The problem only persists for the smb2 protocol, so removing the mounting option vers=2.0 fixes the issue. This is not an option for me, since I need that protocol version.
Hi@all,
I activated the dynamic debugging for readdir.c as Nish Aravamudan suggested.
However this does not produce any output in the kernel log since (as I understand) most of the debug logging (cifs_dbg) is of type FYI which must be activated seperately in the code by setting cifsFYI (in fs/cifs/cifsfs.c) to CIFS_INFO. I think to do so, I have to recompile the kernel as Uwe Honermann suggested.
Doing so, will that help anybody here?
As a reminder: The problem only persists for the smb2 protocol, so removing the mounting option vers=2.0 fixes the issue. This is not an option for me, since I need that protocol version.
Thanks in advance.