summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-10-31 21:48:54 +0000
committerpjd <pjd@FreeBSD.org>2006-10-31 21:48:54 +0000
commit036e929548382eba04c176d581bb24928a5d4155 (patch)
tree6ec7dfd1b055b1259a6aff3184ec4cbd7a09e343 /sbin/tunefs
parentf025652fdc4370dc57dbf8e240345ccda575aa87 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud