History log of /src/sbin/newfs_lfs/misc.c |
Revision | | Date | Author | Comments |
1.7 |
| 17-Jan-2007 |
hubertf | Remove more duplicate #includes, from Slava Semushin <slava.semushin@gmail.com>
|
1.6 |
| 05-Sep-2006 |
riz | Deal with wedges and the new disk geometry structures, instead of using struct disklabel. From Christos Zoulas.
|
1.5 |
| 11-May-2006 |
mrg | - log2() -> lfs_log2(). - fix a couple of entries in struct lfs lfs_default: - in a comment, it's called dlfs_freehd now - dlfs_inodefmt comes after dlfs_tstamp. fortunately for this one, LFS_44INODEFMT is also 0 so the right thing was happening.
|
1.4 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
1.3 |
| 25-May-2002 |
wiz | __STDC__ is always defined on NetBSD.
|
1.2 |
| 13-Jul-2001 |
perseant | Merge the short-lived perseant-lfsv2 branch into the trunk.
Kernels and tools understand both v1 and v2 filesystems; newfs_lfs generates v2 by default. Changes for the v2 layout include:
- Segments of non-PO2 size and arbitrary block offset, so these can be matched to convenient physical characteristics of the partition (e.g., stripe or track size and offset).
- Address by fragment instead of by disk sector, paving the way for non-512-byte-sector devices. In theory fragments can be as large as you like, though in reality they must be smaller than MAXBSIZE in size.
- Use serial number and filesystem identifier to ensure that roll-forward doesn't get old data and think it's new. Roll-forward is enabled for v2 filesystems, though not for v1 filesystems by default.
- The inode free list is now a tailq, paving the way for undelete (undelete is not yet implemented, but can be without further non-backwards-compatible changes to disk structures).
- Inode atime information is kept in the Ifile, instead of on the inode; that is, the inode is never written *just* because atime was changed. Because of this the inodes remain near the file data on the disk, rather than wandering all over as the disk is read repeatedly. This speeds up repeated reads by a small but noticeable amount.
Other changes of note include:
- The ifile written by newfs_lfs can now be of arbitrary length, it is no longer restricted to a single indirect block.
- Fixed an old bug where ctime was changed every time a vnode was created. I need to look more closely to make sure that the times are only updated during write(2) and friends, not after-the-fact during a segment write, and certainly not by the cleaner.
|
1.1 |
| 18-Mar-1999 |
perseant | branches: 1.1.12; Change name of newlfs to newfs_lfs.
|
1.1.12.1 |
| 29-Jun-2001 |
perseant | Get rid of __P(), protoizing where it had not already been done
|