Project

General

Profile

Actions

Bug #537

closed

Journaling patches

Added by steve over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

The first attached patch (jscan_patches) makes the -D option of
jscan work. It includes tests that the directory actually exists. Apply
within /usr/src/sbin/jscan
The second attached patch (vfs_journal.c.patch) removes the
leading / from paths in the journal that has crept in due to changes in
namecache behaviour (it makes the path generation ignore namecache entries
with 0 length names). Apply within /usr/src/sys/kern.
With these two patches applied I have been happily hammering a
journal mirror in a vkernel with no ill effects (but it has made me realise
that I really should think of a way to limit the number of old journal
files that are kept before I start to use this in anger).
Having the journal appears to reduce the filesystem performance to
about one third of it's unjournaled level however some of that is probably
due to the journal being on the same disc as the filesystem.

Files

jscan.patches (1.46 KB) jscan.patches steve, 01/25/2007 11:20 AM
vfs_journal.c.patch (753 Bytes) vfs_journal.c.patch steve, 01/25/2007 11:20 AM
jscan.patch (1.19 KB) jscan.patch steve, 01/26/2007 10:46 AM
Actions

Also available in: Atom PDF