From ae724ac9d5b934ffba27a7e4884ad416cf75a072 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 10 Apr 2026 17:28:19 -0700 Subject: [PATCH] test: remove unlink/14.t from pjdfstest known failures (#9029) fix(mount): skip metadata flush for unlinked-while-open files When a file is unlinked while still open (open-unlink-close pattern), the synchronous doFlush path recreated the entry on the filer during close. Check fh.isDeleted before flushing metadata, matching the existing check in the async flush path. Remove tests/unlink/14.t from known_failures.txt (all 7 subtests now pass). Full suite: 235 files, 8803 tests, Result: PASS. --- test/pjdfstest/known_failures.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/pjdfstest/known_failures.txt b/test/pjdfstest/known_failures.txt index 1c87ed42d..21f3a8d77 100644 --- a/test/pjdfstest/known_failures.txt +++ b/test/pjdfstest/known_failures.txt @@ -16,7 +16,3 @@ tests/rename/24.t # causes cascading test failures within the test file. tests/rename/21.t -# ── rmdir after hard link unlink ─────────────────────────────────────── -# Making DeleteHardLink errors non-fatal prevents the entry from blocking -# rmdir in most cases, but the test still has 1 subtest that fails. -tests/unlink/14.t