Age | Commit message (Collapse) | Author |
|
|
|
* consts.c (diskfs_name_max): New variable.
|
|
|
|
|
|
* Makefile (makemode): servers -> server.
(targets): Replaced with target; remove ufs.static.
(ufs.static-LDFLAGS): Variable removed.
(ufs.static, ufs): Remove deps.
|
|
* dir.c (diskfs_get_directs): Initialize `err' to shut gcc up.
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_lookup_hard): Pass additional parameter to
diskfs_get_filemap.
(diskfs_dirempty): Likewise.
* sizes.c (diskfs_truncate): Likewise.
(block_extended): Likewise.
(diskfs_grow): Likewise.
* pager.c (diskfs_get_filemap): Accept additional parameter.
|
|
* pager.c (find_address): If !ISREAD, then don't return errors for
access past NP->allocsize, and clear *ADDR and *DISKSIZE. These
can happen through harmless races against truncate.
(pager_write_page): Don't print annoying messages for writes to
unallocated disk. These can happen through harmless races against
truncate, and so we should not pester the console with them.
|
|
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate.
* hyper.c (get_hypermetadata): Likewise.
* pager.c (pager_read_page): Likewise.
|
|
|
|
* ufs.h: Add #include <sys/mman.h> for munmap decl.
|
|
* dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita
TAKAO <jargon@lares.dti.ne.jp>.
|
|
* dir.c (diskfs_lookup_hard): Use munmap instead of
vm_deallocate.
(diskfs_direnter_hard): Likewise.
(diskfs_dirremove_hard): Likewise.
(diskfs_dirrewrite_hard): Likewise.
(diskfs_dirempty): Likewise.
(diskfs_drop_dirstat): Likewise.
(diskfs_get_directs): Likewise.
* sizes.c (block_extended): Likewise.
(poke_pages): Likewise.
* hyper.c (get_hypermetadata): Likewise.
(diskfs_set_hypermetadata): Likewise.
|
|
* hyper.c (diskfs_readonly_changed): Adjust whether the store
should permit writes too.
|
|
|
|
* main.c (main): Remove bogus uninitialized variable ERR.
|
|
|
|
* main.c (main): Use diskfs_init_main.
|
|
|
|
* inode.c (diskfs_set_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* inode.c (diskfs_set_statfs): Fill in statfs members that are
used to implement statvfs.
|
|
|
|
* main.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
|
|
* alloc.c (diskfs_alloc_node): Fix printf format to silence warning.
* hyper.c (get_hypermetadata): Likewise.
|
|
|
|
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
(dirscanblock): Likewise.
* inode.c (diskfs_create_symlink_hook, create_symlink_hook): Likewise.
(diskfs_set_translator): Likewise.
|
|
* dir.c (diskfs_lookup_hard): Cope with error return from
diskfs_get_filemap.
* sizes.c (diskfs_grow): Likewise.
* dir.c (diskfs_dirempty): Cope (poorly) with error return from
diskfs_get_filemap.
* sizes.c (diskfs_truncate): Likewise.
(block_extended): Likewise.
* pager.c (diskfs_get_filemap): If pager_create fails, return
error to caller.
|
|
* main.c (main): If the store cannot be made writable, then set
diskfs_hard_readonly and diskfs_readonly.
|
|
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
|
|
New variable.
(main):
Only require device-block-size to be <= DEV_BSIZE.
Get rid of device-block-size-is-power-of-2 check.
Set LOG2_DEV_BLOCKS_PER_BSIZE.
Exit with an error if the disk is too small rather than assert failing.
|
|
New declaration.
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
|
|
|
|
Pass new DEPTH argument to diskfs_make_peropen.
|
|
|
|
If SBLOCK->fs_inodefmt < FS_44INODEFMT, set ST->st_author to st->st_uid,
and NP->author_tracks_uid to true.
(diskfs_validate_author_change):
New function.
|
|
|
|
Frob S_IPTRANS bit in mode bits instead of NP->istranslated.
(write_node):
Don't write any bits in S_ITRANS to disk.
(read_disknode):
When setting ST->st_mode, Clear S_ITRANS bits, and set S_IPTRANS if
necessary.
Don't set NP->istranslated anymore.
|
|
Use S_IPTRANS in NP->dn_stat.st_mode instead of NP->istranslated.
|
|
* inode.c (diskfs_S_fsys_getfile): Delete var `fakecred'.
diskfs_access -> fshelp_access.
* alloc.c (ffs_alloc): diskfs_isuid -> idvec_contains.
(ffs_realloccg): Likewise.
Thu Nov 14 16:43:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* inode.c (diskfs_S_file_getfh): diskfs_isuid -> idvec_contains.
(diskfs_S_fsys_getfile): Use idvecs and iousers.
|
|
|
|
New variables.
(startup_parents, runtime_parents):
Variables removed.
(startup_argp, runtime_argp):
Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
|
|
|
|
|
|
New declarations.
(zeroblock):
Change type to `void *'.
(sync_disk_blocks):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Do cast it to offer_data.
(diskfs_truncate):
Don't cast ZEROBLOCK to diskfs_node_rw.
(indir_release):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|