Age | Commit message (Collapse) | Author |
|
* 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.
|
|
Use fields in STORE instead of DISKFS_DEVICE_* variables.
(pager_read_page, pager_write_page, pager_unlock_page):
Use store_{read,write} instead of diskfs_device_{read,write}_sync.
(create_disk_pager):
Create PAGER_BUCKET.
Use diskfs_start_disk_pager instead of disk_pager_setup.
(thread_function):
Function removed.
(disk_image):
New variable.
(create_disk_pager, diskfs_shutdown_pager, diskfs_sync_everything):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Propagate our input to the first child parser.
(diskfs_append_args):
New function.
(diskfs_get_options):
Function removed.
(diskfs_reload_global_state):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
(startup_parents):
Use DISKFS_STORE_STARTUP_ARGP instead of DISKFS_STD_DEVICE_STARTUP_ARGP.
(store, store_parsed, diskfs_disk_name):
New variables.
(main):
Remove CLASSES argument to store_parsed_open.
Use STORE_PARAMS variable to get result from parsing STORE_ARGP.
Don't force COMPAT_GNU on bootstrap filesystems (it's the default anyway).
Don't set DISKFS_USE_MACH_DEVICE (which is no longer).
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
Use fields in STORE instead of DISKFS_DEVICE_* variables.
<argp.h>, <hurd/store.h>:
New includes.
|
|
Variable ERR removed.
(diskfs_S_file_get_storage_info):
Narrow scope of RUN.
Coalesce adjacent blocks when constructing RUNS.
Set *PORTS_TYPE, not *STORAGE_PORT_TYPE.
Use fields in STORE instead of DISKFS_DEVICE_* variables.
Rewrite to use libstore functions (still has NDADDR block limit, though).
|
|
Change type to `void *'.
(diskfs_set_hypermetadata):
Use store_{read,write} instead of diskfs_device_{read,write}_sync.
(get_hypermetadata):
Cast ZEROBLOCK when vm_{de,}allocating.
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
(get_hypermetadata, diskfs_readonly_changed):
Use fields in STORE instead of DISKFS_DEVICE_* variables.
|
|
Initialize OLDSIZE to shut up gcc.
|
|
New variable.
|
|
|