DF-5799 / run.log
=== DF-5799 reproduction === DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul 2 06:02:54 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 --- [1] primary hammer2 mount --- mount rc=0 --- [2] PFS list --- Type ClusterId (pfs_clid) Label on /mnt/a MASTER 31dca9f2-c683-11f1-bc3b-010000000000 LOCAL MASTER 31dcab02-c683-11f1-bc3b-010000000000 ROOT --- [3] raw write gate BEFORE secondary mount (expect EBUSY) --- dd: /dev/vn0: Device busy dd rc=1 --- [4] routine secondary PFS mount from the same device --- mount rc=0 /dev/vn0@ROOT on /mnt/a (hammer2, local) /dev/vn0@LOCAL on /mnt/b (hammer2, local) --- [5] raw write gate AFTER secondary mount (BUG: expect success) --- 1+0 records in 1+0 records out 65536 bytes transferred in 0.006192 secs (10584270 bytes/sec) dd rc=0 --- [6] also a FAILED secondary mount attempt strips the gate --- mount_hammer2: /dev/vn0@NOSUCH not found failed-mount rc=1 (expected nonzero) 1+0 records in 1+0 records out 65536 bytes transferred in 0.005830 secs (11241244 bytes/sec) dd rc=0 vnconfig: VNIOCDETACH: Device busy --- [7] UFS mount on vn1 --- ufs mount rc=0 --- raw write gate on UFS device (expect EBUSY) --- dd: /dev/vn1: Device busy dd rc=1 --- [8] failed hammer2 mount attempt over the UFS device --- mount: Device busy h2 mount rc=1 (expected 1: Device busy) --- [9] raw write gate after failed attempt (BUG: expect success) --- 1+0 records in 1+0 records out 65536 bytes transferred in 0.008594 secs (7625564 bytes/sec) dd rc=0