Details
-
Technical task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Missing "SPDX-License-Identifier: LGPL-2.1+" in liblustre_trash.c
Fix typo of "opterative" in lustre/mdd/mdd_device.c
Handle the overflow of filename appending with timestamp for repeated name deletion:
https://review.whamcloud.com/c/ex/lustre-release/+/60666/2..9/lustre/mdd/mdd_trash.c#b597
Truncate the name to the available space and hope for the best. It may be that the Y-M-D is enough to de-conflict the name in Trash and is still more useful than not saving the file at all.
Alternately, drop "Y", then "M", then "D" and only use "HH:MM:SS[.nsec]" and the timestamps on the inodes should be enough to figure it out?
Simple solution: truncate to max namelen and hope for no conflicts.
and other minor code style needing to be fixed.