Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
`struct timespec' now uses a field prefix of `tv_'.
|
|
|
|
|
|
|
|
symlinks.
|
|
symlink.
|
|
(startup_parents, runtime_parents): Declare const.
|
|
|
|
diskfs_readonly.
(diskfs_dirempty): Likewise.
|
|
(read_symlink_hook): Likewise.
|
|
(diskfs_grow): Likewise.
|
|
the clean bit on disk. Always call sync_disk (with appropriate
WAIT).
(diskfs_readonly_changed): Don't do set_hypermetadata here.
(copy_sblock): Don't track clean state here.
|
|
instead.
|
|
|
|
|
|
Handle runtime invalid selection of 4.2 mode.
Save select mode until we're done to correctly deal with external errors at
runtime.
(startup_parents, startup_argp, runtime_parents, runtime_argp):
New variables.
(main): Argp vars made global.
(startup_parents):
diskfs_device_startup_argp --> &diskfs_std_device_startup_argp.
|
|
(parse_opt): New function.
(main): Parse ufs-specific options too.
<string.h>: New include.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and not deadlock too, using unlocked pagein permission feature (read
"hack"). Return value now indicates whether we expect a sync.
(diskfs_grow): If a call to block_extended returns nonzero, then sync
the file before returning.
|
|
UPI->unlocked_pagein_length.
(unlocked_pagein_lock): New variable.
(find_address): New parameter `isread'; all callers changed. If ISREAD
and we are in the unlocked pagein region, don't attempt to acquire
NP->dn->allocptrlock.
|
|
`unlocked_pagein_length'.
(unlocked_pagein_lock): New variable.
|
|
|
|
reading from disk and after providing data to kernel.
(diskfs_grow): Always call block_extended or offer_data before
adjusting block pointer.
|
|
same page over and over.
|
|
address.
|
|
(targets): Renamed from `target'; now include ufs.static.
(ufs.static-LDFLAGS): Renamed from `LDFLAGS'.
(ufs.static): Depend on same things as `ufs'.
(include ../Makeconf): Must come before dependency information.
|
|
it was written on a little endian machine without the extension.
|