aboutsummaryrefslogtreecommitdiff
path: root/ufs
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionRoland McGrath1996-07-171-0/+1586
|
* (ufs_version): Variable removed.Miles Bader1996-07-061-2/+0
|
* (read_disknode): Don't set allocsize based on st->size for kludgedMichael I. Bushnell1996-07-061-3/+10
| | | | symlinks.
* (diskfs_truncate): Call record_poke after truncating a kludgedMichael I. Bushnell1996-07-061-0/+1
| | | | symlink.
* Include <argz.h>.Michael I. Bushnell1996-07-031-2/+3
| | | | (startup_parents, runtime_parents): Declare const.
* (diskfs_get_options): Include `--compat=' in options.Miles Bader1996-06-251-2/+5
|
* (diskfs_lookup_hard): Use diskfs_check_readonly instead ofMichael I. Bushnell1996-06-241-5/+5
| | | | | diskfs_readonly. (diskfs_dirempty): Likewise.
* (diskfs_cached_lookup): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell1996-06-241-2/+2
| | | | (read_symlink_hook): Likewise.
* (diskfs_truncate): Call diskfs_check_readonly.Michael I. Bushnell1996-06-241-0/+2
| | | | (diskfs_grow): Likewise.
* (diskfs_set_hypermetadata): If CLEAN is not set, make sure we clearMichael I. Bushnell1996-06-241-16/+10
| | | | | | | 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.
* (diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync itMichael I. Bushnell1996-06-241-2/+2
| | | | instead.
* (options): Make const.Miles Bader1996-06-221-1/+1
|
* (diskfs_get_options): New function.Miles Bader1996-06-221-13/+30
|
* (parse_opt):Miles Bader1996-06-211-7/+44
| | | | | | | | | | | 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.
* (options): New variable.Miles Bader1996-06-151-1/+37
| | | | | | (parse_opt): New function. (main): Parse ufs-specific options too. <string.h>: New include.
* foo.Michael I. Bushnell1996-05-141-29/+37
|
* (diskfs_set_statfs): Fix one reference to old name of ST member.Michael I. Bushnell1996-05-101-1/+1
|
* (ufs.static ufs): s/ioserver/iohelp/gMichael I. Bushnell1996-05-091-1/+1
|
* (diskfs_set_statfs): Use and fill in new statfs structure.Michael I. Bushnell1996-05-091-12/+12
|
* ioserver.h -> iohelp.h.Michael I. Bushnell1996-05-091-1/+1
|
* (ufs_version): Upgrade to 0.0.Michael I. Bushnell1996-05-061-1/+1
|
* (block_extended): more fixupMichael I. Bushnell1996-05-031-4/+4
|
* fixupMichael I. Bushnell1996-05-031-10/+7
|
* (block_extended): Rewrite code that moves pages to be more efficient,Michael I. Bushnell1996-05-031-37/+55
| | | | | | | 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.
* (diskfs_get_filemap): Initialize UPI->allow_unlocked_pagein andMichael I. Bushnell1996-05-031-9/+62
| | | | | | | | 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.
* (struct user_pager_info): New members `allow_unlocked_pagein' andMichael I. Bushnell1996-05-031-0/+5
| | | | | `unlocked_pagein_length'. (unlocked_pagein_lock): New variable.
* fixupMichael I. Bushnell1996-05-021-4/+5
|
* (block_extended): When moving data, sync in-core pager both beforeMichael I. Bushnell1996-05-021-7/+26
| | | | | | reading from disk and after providing data to kernel. (diskfs_grow): Always call block_extended or offer_data before adjusting block pointer.
* (offer_data): Offer pages at ADDR each time through the loop, not theMichael I. Bushnell1996-05-021-1/+1
| | | | same page over and over.
* (diskfs_grow): In last offer_data, don't offer a block number as anMichael I. Bushnell1996-04-301-1/+1
| | | | address.
* (makemode): Now `servers'.Michael I. Bushnell1996-04-261-6/+7
| | | | | | | (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.
* (DIRECT_NAMLEN) [! LITTLE_ENDIAN]: Deal correctly with the case whereMichael I. Bushnell1996-04-241-2/+4
| | | | it was written on a little endian machine without the extension.
* (DIRECT_NAMLEN) [LITTLE_ENDIAN]: Deal with case correctly where it wasMichael I. Bushnell1996-04-241-2/+3
| | | | written without the extension on a big endian machine.
* (block_extended):Michael I. Bushnell1996-04-231-1/+1
|
* (swab_long_long): one more timeMichael I. Bushnell1996-04-231-1/+1
|
* and even betterMichael I. Bushnell1996-04-231-2/+2
|
* (swab_long_long, swab_long): better now.Michael I. Bushnell1996-04-231-2/+2
|
* fixupMichael I. Bushnell1996-04-231-2/+3
|
* (swab_long): Cleaner now.Michael I. Bushnell1996-04-231-4/+9
| | | | (swab_long_long): New function.
* (read_disknode): typoMichael I. Bushnell1996-04-231-1/+1
|
* fixup.Michael I. Bushnell1996-04-231-7/+5
|
* (diskfs_dirempty): node_update -> diskfs_node_update.Michael I. Bushnell1996-04-231-2/+2
|
* (ffs_blkfree): final fixup.Michael I. Bushnell1996-04-231-10/+10
|
* (read_disk_entry): Proper syntax.Michael I. Bushnell1996-04-231-3/+5
|
* Include <string.h>.Michael I. Bushnell1996-04-231-6/+9
| | | | Fixup.
* (read_disknode): Use read/write_disk_entry when reading/writingMichael I. Bushnell1996-04-231-42/+44
| | | | | | | | on-disk inode fields. (write_node): Likewise. (diskfs_set_translator): Likewise. (diskfs_get_translator): Likewise. (diskfs_S_file_get_storage_info): Likewise.
* (fetch_indir_spec): Use read/write_disk_entry when reading/writingMichael I. Bushnell1996-04-231-6/+6
| | | | on-disk inode fields and indirect blocks.
* (pager_unlock_page): Use read/write_disk_entry when reading/writingMichael I. Bushnell1996-04-231-5/+10
| | | | on-disk inode fields and indirect blocks.
* (diskfs_truncate): Use read/write_disk_entry when reading/writingMichael I. Bushnell1996-04-231-18/+29
| | | | | | | | | on-disk indirect blocks. (diskfs_grow): Likewise. (indir_release): Likewise. (diskfs_truncate): Use read/write_disk_entry when reading/writing on-disk inode fields. (diskfs_grow): Likewise.
* (swab_disk): New variable.Michael I. Bushnell1996-04-231-9/+22
| | | | | (swab_short, swab_long): New functions. (read_disk_entry, write_disk_entry): New macros.