Вести с полей
- From
- Slawa Olhovchenkov (2:5030/500)
- To
- All (2:5054/37.63)
- Date
- 2006-11-15T15:06:16Z
- Area
- RU.UNIX.BSD
Hello All!
pjd 2006-10-31 21:48:54 UTC
FreeBSD src repository
Modified files:
sys/sys vnode.h
sys/kern vfs_subr.c
sys/ufs/ffs ffs_extern.h ffs_vfsops.c fs.h
sys/ufs/ufs ufs_inode.c ufs_vnops.c
Added files:
sys/ufs/ufs gjournal.h ufs_gjournal.c
Log:
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
... Сколько можно издеваться над файловой системой?!
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
SEEN-BY: 50/12 203 400/814 450/186 1024 451/30 550/196 4614/20 4635/4
SEEN-BY: 5000/5000 5011/13 5012/46 5015/28 5019/31 5020/154 175 400 545 549
SEEN-BY: 5020/758 1523 1604 1630 2142 2238 2395 2450 2590 2871 4441 5021/3 29
SEEN-BY: 5022/128 5025/3 750 5027/12 5029/32 5030/49 500 556 966 1063 1080
SEEN-BY: 5030/1900 1957 2828 5031/47 70 5035/38 5040/47 5042/13 5045/7 5049/50
SEEN-BY: 5049/97 5054/1 4 8 9 11 28 35 36 37 45 63 66 67 70 75 84 85 5055/95
SEEN-BY: 5059/9 37 5062/1 10 5063/3 5064/7 5076/1 5077/70 5080/80 1003 5082/6
SEEN-BY: 5083/21 5084/9 5085/13 5090/108 5094/4 5095/20 5096/18 5099/11
SEEN-BY: 6001/10
PATH: 5030/500 5020/4441 545 5054/1 37