aboutsummaryrefslogtreecommitdiff
path: root/ufs
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (diskfs_get_translator): Conform to new memory usage semantic.Michael I. Bushnell1995-06-141-2/+1
|
* (trans_parse_args): Use options_parse & diskfs_standard_startup_options toMiles Bader1995-05-201-22/+56
| | | | | | parse our translator options. (usage): New function. (parse_opt): New function.
* (CPPFLAGS): Add -I../lib, to get include lib include files,Miles Bader1995-05-201-0/+4
| | | | | and $(CPPFLAGS-$(notdir $<)) to get file-specific cpp options. Add a vpath for %.c to ../lib, so we can use source files from there.
* (pager_clear_user_data): Doc fix.Michael I. Bushnell1995-05-151-0/+1
|
* (OBJS): Remove exec_server_image.o.Roland McGrath1995-05-131-8/+1
| | | | (exec_server_image.o): Rule removed.
* (pager_clear_user_data): Don't die when called on the disk pager.Miles Bader1995-05-081-10/+12
|
* (diskfs_lookup): When looping back to try_again: because we're looking upMiles Bader1995-05-081-2/+7
| | | | | | | | "..", be sure and trash the mapping we made of the directory's pager -- otherwise the reference to the pager never gets dropped and we can never free the node. (diskfs_lookup): ds->type was being compared to LOOKING, which value it can never have. Compare ds->stat against LOOKING instead.
* (write_all_disknodes): Fix typo `alloc' --> `alloca'.Miles Bader1995-05-081-1/+1
|
* (pager_clear_user_data): Acquire pagerlistlock around modifications toMichael I. Bushnell1995-05-021-1/+3
| | | | UPI->next/prevp list structure.
* (write_all_disknodes): We have to really lock the nodes around theMichael I. Bushnell1995-04-281-3/+19
| | | | | calls to diskfs_set_node_times and write_node; this in turn forces us to have real refereces.
* (main): Don't abort if a std file descriptor is already open.Miles Bader1995-04-131-5/+4
|
* (diskfs_set_translator): When freeing passive translator, account forMichael I. Bushnell1995-04-051-1/+2
| | | | blocks freed in NP->dn_stat.st_blocks.
* (diskfs_truncate): Don't acquire writer lock on NP->dn->allocptrlockMichael I. Bushnell1995-03-311-6/+6
| | | | | | | until after forcing delayed copies through; otherwise the pageins will deadlock attempting to get a reader lock to service them. This is safe, because we only need NP->allocsize here, and that can't change as long as we hold NP->lock.
* (diskfs_synchronous): New variable.Michael I. Bushnell1995-03-201-1/+2
|
* More typos.Michael I. Bushnell1995-03-171-4/+4
|
* (alloc_sync): Typo.Michael I. Bushnell1995-03-171-1/+1
|