Bug #1283

"hammer cleanup" ignores some PFS

Added by pgeorgi over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The periodical "hammer cleanup" run doesn't handle all active PFS. It scans
through the mount points of fstype "hammer" or "null" whose device starts with
/pfs.
I have two hammer filesystems, and keep the pfs symlinks in their respective
root directories, so "/pfs" didn't match "/backup/pfs".
Attached patch changes the test to look for the occurrence of "/@@0x" in the
device path, which should be rare enough to only match hammer filesystems.

20090216-1-hammer-cleanup.diff Magnifier (450 Bytes) pgeorgi, 02/16/2009 10:09 PM

History

#1 Updated by dillon over 5 years ago

Committed, thank you for the patch!

-Matt

Also available in: Atom PDF