diff options
author | pjd <pjd@FreeBSD.org> | 2006-10-31 21:48:54 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-10-31 21:48:54 +0000 |
commit | 036e929548382eba04c176d581bb24928a5d4155 (patch) | |
tree | 6ec7dfd1b055b1259a6aff3184ec4cbd7a09e343 /sbin/tunefs | |
parent | f025652fdc4370dc57dbf8e240345ccda575aa87 (diff) | |
download | FreeBSD-src-036e929548382eba04c176d581bb24928a5d4155.zip FreeBSD-src-036e929548382eba04c176d581bb24928a5d4155.tar.gz |
Add gjournal specific code to the UFS file system:
- Add FS_GJOURNAL flag which enables gjournal support on a file system.
- Add cg_unrefs field to the cylinder group structure which holds
number of unreferenced (orphaned) inodes in the given cylinder group.
- Add fs_unrefs field to the super block structure which holds
total number of unreferenced (orphaned) inodes.
- When file or a directory is orphaned (last reference is removed, but
object is still open), increase fs_unrefs and cg_unrefs fields,
which is a hint for fsck in which cylinder groups looks for such
(orphaned) objects.
- When file is last closed, decrease {fs,cg}_unrefs fields.
- Add VV_DELETED vnode flag which points at orphaned objects.
Sponsored by: home.pl
Diffstat (limited to 'sbin/tunefs')
0 files changed, 0 insertions, 0 deletions