summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-09-23(diskfs_S_file_get_storage_info):Miles Bader
Clone STORE before remapping it. Rewritten to use store functions.
1996-09-23(file_pager_read_page, pending_blocks_write, disk_pager_read_page,Miles Bader
disk_pager_read_page, disk_pager_write_page, pager_report_extent, find_block, pager_unlock_page, diskfs_grow): Use store_ operations instead of the old device ones, and some store fields instead of globals. (file_pager_read_page): Make BUF void **, NEW_BUF void *, and LENGTH size_t. Pass &LENGTH to store_read, not LENGTH. (free_page_bufs, free_page_bufs_lock): New variables. (create_disk_pager): Create PAGER_BUCKET. Pass in new args to diskfs_pager_setup (renamed from disk_pager_setup). (service_paging_request): Function removed. (struct pending_blocks): Make BUF void *. (disk_pager_write_page): Make BUF void *, and LENGTH size_t. Check amount written, and return EIO if it's wrong. (disk_image): New variable. (get_page_buf, free_page_buf): New functions. (disk_pager_read_page): Make BUF void **, and LENGTH size_t. Check amount read, and return EIO if it's wrong. (file_pager_write_pager): Make BUF void *. (diskfs_shutdown_pager): Use DISKFS_DISK_PAGER instead of DISK_PAGER. (pager_read_page, pager_read_page): Convert BUF to a pointer when calling work functions. (file_pager_read_page:do_pending_reads, pager_unlock_page, pending_blocks_write, diskfs_grow, find_block): Use filesystem blocks, not device blocks, in block<->offset/size conversions. (pending_blocks_write): Make PAGE_BUF void *, and LENGTH size_t. Check amount written, and return EIO if it's wrong. <hurd/store.h>: New include.
1996-09-23(read_disknode):Miles Bader
Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
1996-09-23(diskfs_readonly_changed):Miles Bader
Use STORE->size. (get_hypermetadata): Use STORE->size & STORE->block_size. <hurd/store.h>: New include.
1996-09-23(sync_global_ptr):Miles Bader
Use DISKFS_DISK_PAGER instead of DISK_PAGER. (store): New declaration. (disk_image): New declaration. (get_page_buf, free_page_buf): Declarations removed. (store_parsed, store_name): New declarations.
1996-09-23(parse_opt):Miles Bader
Propagate our input to the first child argp. (diskfs_disk_name): Renamed from STORE_NAME. (diskfs_append_args): Renamed from diskfs_get_options. Don't initialize *ARGZ & *ARGZ_LEN anymore, or deallocate on errors. Append store args too. (startup_parents, startup_argp, runtime_parents, runtime_argp, options, parse_opt, diskfs_get_options): Define always, not just when EXT2FS_DEBUG is defined. (free_page_bufs, free_page_bufs_lock): Variables removed. (store, store_parsed, store_name): New variables. (diskfs_extra_version): Put `GNU Hurd' in here. (main, 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. (main): Remove CLASSES argument to store_parsed_open. Use STORE_PARAMS variable to get result from parsing STORE_ARGP. Change store_parsed_get_name to store_parsed_name. Use store fields instead of diskfs variables. (parse_opt, diskfs_get_options): Guard debug-specific bits with #ifdef EXT2FS_DEBUG. (get_page_buf, free_page_buf): Functions removed. <argp.h>, <hurd/store.h>: New includes.
1996-09-23.Miles Bader
1996-09-23(HURDLIBS): Add store.Miles Bader
1996-09-23(store, store_parsed, disk_image):Miles Bader
New declarations. (zeroblock): Change type to `void *'. (sync_disk_blocks): Use DISKFS_DISK_PAGER instead of DISK_PAGER.
1996-09-23(block_extended, diskfs_grow):Miles Bader
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.
1996-09-23(sync_disk):Miles Bader
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
1996-09-23(pager_report_extent):Miles Bader
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.
1996-09-23(parse_opt):Miles Bader
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.
1996-09-23(diskfs_S_file_getfh):Miles Bader
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).
1996-09-23(zeroblock):Miles Bader
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.
1996-09-23(diskfs_direnter_hard):Miles Bader
Initialize OLDSIZE to shut up gcc.
1996-09-23(diskfs_extra_version):Miles Bader
New variable.
1996-09-23.Miles Bader
1996-09-23(diskfs_check_readonly):Miles Bader
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
1996-09-23(_print_version):Miles Bader
Change to use new version format from the coding standards. Test diskfs_extra_version against 0 too. <argp.h>, <stdio.h>: New includes.
1996-09-23(store_argp_parents):Miles Bader
Use diskfs_startup_argp, not diskfs_std_startup_argp. (diskfs_use_mach_device, diskfs_device_arg, dev_startup_options, dev_startup_argp_parents, diskfs_std_device_startup_argp): Variables removed. (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. (parse_dev_startup_opt): Function removed. <hurd/store.h>: New include.
1996-09-23(std_runtime_options):Miles Bader
Change --remount to --update (keep --remount as a deprecated alias). <argp.h>: New include.
1996-09-23(diskfs_append_args):Miles Bader
Renamed from diskfs_get_options.
1996-09-23<stdio.h>:Miles Bader
New include.
1996-09-23(diskfs_S_io_server_version):Miles Bader
Use snprintf instead of sprintf. <stdio.h>: New include.
1996-09-23(_diskfs_init_completed):Miles Bader
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
1996-09-23(diskfs_S_fsys_get_options):Miles Bader
Free ARGZ if diskfs_append_args returns an error. Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args instead of diskfs_get_options.
1996-09-23(diskfs_S_file_get_fs_options):Miles Bader
Free ARGZ if diskfs_append_args returns an error. Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args instead of diskfs_get_options. <argz.h>: New include.
1996-09-23(diskfs_append_args):Miles Bader
Renamed from diskfs_get_options. (diskfs_disk_name): New declaration. (diskfs_store_startup_argp): Renamed from diskfs_std_device_startup_argp. (diskfs_device_arg, diskfs_use_mach_device, diskfs_device_open, diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size, diskfs_device_block_size, diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, diskfs_device_write_sync, diskfs_device_read_sync): Declarations removed. (struct argp): New (incomplete) declaration. (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. (diskfs_get_file_device, diskfs_get_mach_device): Declarations removed. <argp.h>: Include removed.
1996-09-23(diskfs_disk_pager):Miles Bader
Renamed from disk_pager. (diskfs_start_disk_pager): Renamed from disk_pager_setup. Add PAGER_BUCKET, IMAGE, and SIZE arguments. (disk_image, pager_bucket): Declarations removed.
1996-09-23(service_paging_requests):Miles Bader
Get PAGER_BUCKET from argument. (diskfs_disk_pager): Renamed from disk_pager. (pager_bucket): Declaration removed. (disk_image): Variable removed. (diskfs_start_disk_pager): Renamed from setup_disk_pager. Add PAGER_BUCKET, IMAGE, and SIZE arguments. Pass in PAGER_BUCKET to thread routine, and don't create it.
1996-09-23(OTHERSRCS):Miles Bader
Remove filedev.c, machdev.c, dev-open.c, dev-io.c, & dev-globals.c. (HURDLIBS): Add store. (libdiskfs.so): Depend on libstore.so.
1996-09-23(fsys_update):Miles Bader
Renamed from fsys_remount. Use --update, not --remount.
1996-09-23.Miles Bader
1996-09-23(zero_open, zero_validate_name):Miles Bader
New functions. (zero_class): Use them. (store_zero_class): Renamed from zero_class; export.
1996-09-23(store_ileave_class):Miles Bader
Renamed from ileave_class; export. (store_concat_class): Renamed from concat_class; export. (ileave_decode, concat_decode): Make CLASSES arg const.
1996-09-23(main):Miles Bader
Use new PARAMS var for passing args to STORE_ARGP.
1996-09-23(_make_store):Miles Bader
Make CLASS arg const. (_store_add_std_class): Declaration removed. (STORE_STD_CLASS): Macro removed. (struct store_argp_params): New type. (store_open): Make NAME const. (struct store_class): Add OPEN and PARSE fields. (struct store): Make CLASS field const. (store_parsed_open): Remove CLASSES argument. (struct store_class, struct store_argp_params, store_create, store_open, store_decode, store_decode_children): Change CLASSES args to be a pointer to a vector of class pointers.
1996-09-23(store_std_classes):Miles Bader
Make an initialized array. (_store_add_std_class): Function removed.
1996-09-23(store_remap_class):Miles Bader
Renamed from remap_class; export. (remap_decode): Make CLASSES arg const.
1996-09-23(query_class):Miles Bader
New variable. (store_query_class): Renamed from query_class; export. (store_open): Make NAME const.
1996-09-23(_make_store):Miles Bader
Make CLASS arg const.
1996-09-23(store_decode_children):Miles Bader
Change CLASSES to **.
1996-09-23(_store_file_create):Miles Bader
Make CLASS arg const. (store_file_class): Renamed from file_class; export. (store_file_byte_class): Renamed from file_byte_class; export. (file_class): Point to it. (fhile_open): New function.
1996-09-23(store_encode):Miles Bader
Make CLASS var const.
1996-09-23(dev_open):Miles Bader
New function. (store_device_class): Renamed from dev_class; export. (dev_class): Point to it.
1996-09-23(store_decode):Miles Bader
Change CLASSES to be a vector of class pointers.
1996-09-23(store_create):Miles Bader
Make CLASSES arg const.
1996-09-23(parse_opt):Miles Bader
Correctly check for non-default type. (options, parse_opt): Add --store-type/-T & (hidden) --machdev/-m options, remove --device/-d option. (find_class): Change CLASSES to be a vector of class pointers. (struct store_parsed): Change CLASSES field to be a pointer to a vector of class pointers. Make some fields const. Rmove DEVICE field, add TYPE, DEFAULT_TYPE and CLASSES fields. (store_parsed_free): Free PARSED->type if it exists. (store_parsed_append_args): Use --store-type=... instead of --device. (store_parsed_open): Remove CLASSES argument. When --store-type is specified, search CLASSES for that type, and call it's open function.
1996-09-23.Miles Bader