Project

General

Profile

Actions

Bug #2863

open

HAMMER synch tid is zero

Added by shamaz over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/09/2015
Due date:
% Done:

0%

Estimated time:

Description

Hello. This appears on DragonFlyBSD 4.2 (and maybe newer) if you try the
following with HAMMER filesystem:

1) Create a new vnode device.
  1. dd if=/dev/zero of=test.img bs=1m count=15000
  2. vnconfig -c vn test.img
  3. disklabel64 -w -r vn4s0 auto
  4. disklabel64 -e vn4s0
    Add a line like "a: * 0 HAMMER"

2) Create a HAMMER filesystem:
newfs_hammer -f -L TEST /dev/vn4s0a

3) Mount it:
mount /dev/vn4s0a /mnt

4) Try to sync it:
hammer synctid /mnt

You will see zero sync tid (0x0000000000000000). If you try to set some
debug-related sysctls, it will get you no info at all when syncing. Also
hammer pfs-status /mnt will show that sync-end-tid does not increment in
time as it should. I am not sure if it happens with any non-root hammer FS,
or just with those based on vn pseudo disks.


Files

flusher_tid.patch (492 Bytes) flusher_tid.patch shamaz, 12/10/2015 11:04 AM
hammer_flusher.c.patch (481 Bytes) hammer_flusher.c.patch shamaz, 12/12/2015 11:24 PM
Actions

Also available in: Atom PDF