Details
-
Technical task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
When unlink a file under TCU enabled, it may fail with ENOSPC as the inodes space is used out for TCU insert/create pFID operations.
In this case, the simple solution is that MDT tolerates the ENOSPC error, just treat as TCU is disabled and bypass TCU and destroy the file directly.
The much complex solution is that for a removing directory, we append the full path (like fid2path) into "trusted.unrm" XATTR to the pFID stub file in Trash Can to avoid the "pFID" stub file becoming a orphan object.