aboutsummaryrefslogtreecommitdiff
path: root/ufs
Commit message (Collapse)AuthorAgeFilesLines
* (main): Use new handy diskfs routines and get rid of tons of junk. MainMiles Bader1995-10-131-175/+38
| | | | | | | | should be almost all ufs-specific now. (USAGE, usage, SHORT_OPTS, long_opts, parse_opt, trans_parse_arg): RIP. (printf_lock): Initialize. (diskfs_init_completed): Function deleted (now in libdiskfs). (thread_cancel): Function deleted.
* (SRCS): Remove devio.c.Miles Bader1995-10-131-1/+1
|
* (dev_read_sync, dev_write_sync, dev_write, diskpagersize): Decls removed.Miles Bader1995-10-131-9/+0
|
* (diskfs_set_hypermetadata):Miles Bader1995-10-131-2/+4
| | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
* (pager_unlock_page, pager_write_page, pager_read_page):Miles Bader1995-10-131-4/+5
| | | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. (pager_report_extent): Calculate the pager size.
* (diskfs_grow):Miles Bader1995-10-131-4/+5
| | | | Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
* (diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE,Miles Bader1995-10-131-2/+3
| | | | and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME.
* (diskfs_S_file_get_storage_info):Miles Bader1995-10-071-2/+4
| | | | Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter.
* (diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize.Miles Bader1995-10-051-2/+2
| | | | fsys_stb_fsize -> fsys_stb_bsize.
* (parse_opt): Rearrange slightly.Miles Bader1995-10-041-3/+7
|
* Include <netinet/in.h>.Michael I. Bushnell1995-09-261-7/+10
| | | | Fix trivial errors in previous change.
* (diskfs_S_file_get_storage_info): New function.Michael I. Bushnell1995-09-261-0/+106
|
* (main): Delete var `devname'. Use `ufs_device_name' throughoutMichael I. Bushnell1995-09-261-7/+6
| | | | instead.
* (ufs_device_name): New var.Michael I. Bushnell1995-09-261-0/+1
|
* (LDFLAGS): New variable.Miles Bader1995-09-221-0/+2
|
* (get_hypermetadata): Use %Zd format for result of sizeof.Roland McGrath1995-09-221-3/+3
|
* (diskfs_lookup): Require NPP set for RENAME too.Michael I. Bushnell1995-09-131-1/+1
|
* (diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMichael I. Bushnell1995-09-131-7/+11
| | | | | even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
* (diskfs_pager_users): Ignore the disk pager when seeing if there are anyMiles Bader1995-09-061-3/+2
| | | | active pagers.
* (ufs): Depend on ../libshouldbeinlibc/libshouldbeinlibc.a.Roland McGrath1995-08-281-1/+1
|
* (indir_release): When freeing direct blocks mentioned in a singleMichael I. Bushnell1995-08-251-9/+11
| | | | | | indirect block, or single indirect blocks mentioned in a double, only call the free routine (ffs_blkfree or indir_release, respectively) if the block is actually allocated.
* (ufs): Add explicit dependencies.Miles Bader1995-08-241-12/+4
| | | | | (HURDLIBS, LDFLAGS, REMHDRS): Removed. Rules associated with ../lib removed.
* (diskfs_get_filemap): Drop initial reference created by pager_create.Michael I. Bushnell1995-07-211-19/+26
| | | | | (pager_clear_user_data): Only clear UPI->np->dn->fileinfo if it still points to us.
* (diskfs_get_filemap): Free initial reference created by pager_create.Michael I. Bushnell1995-07-211-1/+9
|
* (thread_function): Don't have any global timeout here; we don't use itMichael I. Bushnell1995-07-171-4/+2
| | | | anyhow.
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-12/+0
|
* (diskfs_pager_users/enable_cache): Fix typo.Michael I. Bushnell1995-06-271-2/+3
| | | | Include <unistd.h>.
* (diskfs_pager_users): New function.Michael I. Bushnell1995-06-271-0/+67
|
* (thread_function): Move thread_function to be non-local, of course,Michael I. Bushnell1995-06-221-11/+10
| | | | because it needs to live even after create_disk_pager returns.
* (thread_cancel): Typo.Michael I. Bushnell1995-06-221-1/+1
|
* (thread_cancel): New function (HACK).Michael I. Bushnell1995-06-221-0/+4
|
* (HURDLIBS): Add libihash.Michael I. Bushnell1995-06-221-1/+1
|
* (main): Have main thread exit when done instead of calling a diskfsMichael I. Bushnell1995-06-221-3/+3
| | | | function.
* (diskfs_sync_everything, diskfs_shutdown_pager): Conform to prototype.Michael I. Bushnell1995-06-211-2/+4
|
* (diskfs_shutdown_pager): Typos.Michael I. Bushnell1995-06-211-2/+2
|
* (struct user_pager_info): Drop members next and prevp.Michael I. Bushnell1995-06-211-2/+1
|
* (pager_clear_user_data): Don't maintain pager linked list.Michael I. Bushnell1995-06-211-54/+19
| | | | | | | | | (diskfs_get_filemap): Don't maintain pager linked list. (pager_dropweak): New function. (pager_traverse): Delete function. (diskfs_shutdown_pager): Use ports_bucket_iterate instead of pager_traverse. (diskfs_sync_everything): Use ports_bucket_iterate instead of pager_traverse.
* (drop_pager_softrefs): Use ports reference calls directly instead ofMichael I. Bushnell1995-06-211-7/+7
| | | | | | | pager wrappers. (allow_pager_softrefs): Likewise. (pager_traverse): Likewise. (diskfs_file_update): Fix typo.
* (create_disk_pager): Fork off service thread for pager ports.Michael I. Bushnell1995-06-211-0/+13
|
* (create_disk_pager): Initialize pager_bucket.Michael I. Bushnell1995-06-211-0/+2
|
* (pager_bucket): New variable.Michael I. Bushnell1995-06-211-4/+8
| | | | | | | (create_disk_pager): Provide pager_bucket in call to pager_create. (diskfs_get_filemap): Likewise. (diskfs_file_update): Use ports reference calls directly instead of pager wrappers.
* (diskfs_truncate): Use ports reference calls directly instead of pagerMichael I. Bushnell1995-06-211-4/+4
| | | | wrappers.
* (diskfs_lookup): Provide initialization for BUFLEN.Michael I. Bushnell1995-06-211-7/+10
| | | | (diskfs_direnter): Move assignment out of if test.
* (diskfs_grow): Provide initialization of POKE_OFF.Michael I. Bushnell1995-06-201-1/+1
|
* (ffs_realloccg): Fix typo.Michael I. Bushnell1995-06-201-1/+1
|
* (fetch_indir_spec): Remove assignment from if test.Michael I. Bushnell1995-06-201-2/+3
|
* (diskfs_truncate): Remove assignment from if test.Michael I. Bushnell1995-06-201-1/+2
|
* (ffs_realloccg): Remove assignments from if tests.Michael I. Bushnell1995-06-201-2/+4
|
* (write_all_disknodes): Typos.Michael I. Bushnell1995-06-201-0/+3
|
* (diskfs_node_iterate): New function.Michael I. Bushnell1995-06-201-12/+27
| | | | (write_all_disknodes): Use it.