aboutsummaryrefslogtreecommitdiff
path: root/ext2fs
Commit message (Collapse)AuthorAgeFilesLines
* (pokel_init): Initialize the free_pokes field.Miles Bader1995-09-171-8/+17
| | | | | (pokel_add): Assert that this malloc should succeed. (pokel_sync): Don't hold POKEL's spin lock while syncing.
* (diskfs_alloc_node): Check for a non-zero ALLOCSIZE.Miles Bader1995-09-171-6/+15
|
* (trunc_indirect): Only record an indirect block as being modified when itMiles Bader1995-09-151-1/+2
| | | | actually is.
* u32 --> block_tMiles Bader1995-09-155-13/+11
|
* (diskfs_truncate): Use the new truncate functions.Miles Bader1995-09-151-250/+158
| | | | | | | | | | | | | | | | (poke_pages): Gratuitous cosmetic changes. (trunc_direct): Rewritten, new args. (trunc_indirect): Rewritten, new args, now more general to support all the various indirection levels. (trunc_triple_indirect, trunc_double_indirect, trunc_single_indirect): New functions. (struct free_block_run): New structure. (free_block_run_finish, free_block_run_free_ptr, free_block_run_add, free_block_run_init, _free_block_run_flush): New functions. (trunc_dindirect, trunc_tindirect): Functions deleted. (DIRECT_BLOCK, INDIRECT_BLOCK, DINDIRECT_BLOCK, TINDIRECT_BLOCK): Macros deleted.
* (diskfs_lookup): Require NPP set for RENAME too.Miles Bader1995-09-131-1/+1
|
* (diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMiles Bader1995-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-051-9/+8
| | | | | | active pagers. (diskfs_shutdown_pager): shutdown_one gets passed a pager, not a upi. (diskfs_sync_everything): sync_one gets passed a pager, not a upi.
* (thread_cancel): Removed.Miles Bader1995-09-031-6/+0
|
* (ext2fs): Put libports in the right place in the linking order.Miles Bader1995-08-251-1/+1
|
* (LCLHDRS): Put all dependencies here.Miles Bader1995-08-241-11/+3
| | | | | (HURDLIBS): Removed. Remove rules for error.o.
* (diskfs_get_filemap): Drop initial reference created by pager_create.Michael I. Bushnell1995-07-211-16/+27
| | | | | (pager_clear_user_data): Only clear UPI->node->dn->fileinfo if it still points to us.
* (diskfs_get_filemap): Free initial reference created by pager_create.Michael I. Bushnell1995-07-211-1/+5
|
* (diskfs_pager_users): New function.Miles Bader1995-07-091-0/+68
|
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-3/+0
|
* (pager_unlock_page): Declare BLOCK volatile.Michael I. Bushnell1995-06-271-1/+1
|
* (force_delayed_copies, enable_delayed_copies): Change pager [un]ref calls toMiles Bader1995-06-241-4/+4
| | | | use the new ports ref calls directly instead.
* (struct user_pager_info): Remove the next & prevp fields.Miles Bader1995-06-241-1/+0
|
* (diskfs_direnter): Move assignment out of test.Miles Bader1995-06-241-7/+10
| | | | (diskfs_get_directs): Fix print-format types.
* (diskfs_free_node): Fix print-format types.Miles Bader1995-06-241-1/+1
|
* (diskfs_lost_hardrefs): Change pager [un]ref calls to use the new ports refMiles Bader1995-06-241-16/+37
| | | | | | calls directly instead. (diskfs_node_iterate): New function. (write_all_disknodes): Re-implemented using diskfs_node_iterate.
* (main): Have the initial thread die when it's done, leaving other thread toMiles Bader1995-06-241-2/+7
| | | | | do the work. (thread_cancel): Dummy function.
* (thread_function): New function.Miles Bader1995-06-241-64/+52
| | | | | | | | | | | | | | | | | (create_disk_pager): Make a new thread to service paging requests. (pager_bucket): New variable. (pager_list_lock, file_pager_list): Variables deleted. (create_disk_pager): Create pager_bucket. (create_disk_pager, diskfs_get_filemap): Pass pager_bucket to pager_create. (pager_traverse): Function deleted. (diskfs_get_filemap, pager_clear_user_data): Don't add/remove UPI to/from the pager list, as there isn't any. (diskfs_shutdown_pager, diskfs_sync_everything): Use ports_bucket_iterate on pager_bucket to go through all the pagers, instead of pager_traverse. (diskfs_file_update, pager_traverse, allow_pager_softrefs, drop_pager_softrefs): Change pager [un]ref calls to use the new ports ref calls directly instead. (pager_dropweak): New function (does nothing).
* (HURDLIBS): Add libihash.Miles Bader1995-06-241-1/+2
|
* (diskfs_get_translator): Conform to new memory usage semantic.Michael I. Bushnell1995-06-141-2/+1
|
* Use options_parse & diskfs_standard_startup_options to do command lineMiles Bader1995-05-201-38/+21
| | | | | | | | options parsing. Rename `options' to `long_opts'. Most things removed, as they're now handled by libdiskfs. Add parse_opt to deal with our few meagre remaining options in the approved options_parse manner.
* Add the --writable & --nosync options.Miles Bader1995-05-191-3/+13
|
* (diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size.Miles Bader1995-05-141-2/+2
|
* (OBJS): Remove exec_server_image.o.Roland McGrath1995-05-131-8/+1
| | | | (exec_server_image.o): Rule removed.
* Add an optional argument to the --sync option that lets the user specify anMiles Bader1995-05-121-6/+9
| | | | initial sync interval.
* Change uses of the ext2_{warning,error,panic} functions to not have theMiles Bader1995-05-124-38/+24
| | | | initial function name argument (it's now supplied automagically).
* (ext2_error, ext2_warning, ext2_panic, all callers changed): Make these intoMiles Bader1995-05-121-6/+8
| | | | | | macros that automagically supply the caller's function name, and rename the original functions (which these macros call) to have an underline prefix. Get rid of the CHECK_STRICT variable.
* (ext2_free_blocks, ext2_new_block): Get rid of the CHECK_STRICT variable,Miles Bader1995-05-121-49/+30
| | | | | | and just always do the tests it controlled. Change uses of the ext2_{warning,error,panic} functions to not have the initial function name argument (it's now supplied automagically).
* (ext2_error, ext2_warning, ext2_panic): Rename to add the underline prefixMiles Bader1995-05-121-11/+16
| | | | | (the previous names are now macros that call the renamed functions). Also rearrange a bit to hold the lock around the use of the global message buffer.
* (pager_unlock_page): Give an explanation of why the file system will shortlyMiles Bader1995-05-121-3/+6
| | | | crash.
* (main): Enable the bootstrap code.Miles Bader1995-05-111-4/+5
|
* (read_disknode): Make st_blksize larger: 2 * pagesize.Miles Bader1995-05-111-1/+1
|
* (block_getblk, inode_getblk): Return ENOSPC instead of EIO when we can'tMiles Bader1995-05-101-2/+2
| | | | allocate a new block.
* (find_next_zero_bit): Fix stupid typos (present in the original linux sourceMiles Bader1995-05-101-2/+2
| | | | I copied this function from!) which were causing occasional garbage results.
* entered into RCSMiles Bader1995-05-095-6/+6
|
* Formerly ext2fs.h.~43~Miles Bader1995-05-091-4/+4
|
* entered into RCSMiles Bader1995-05-096-8/+5
|
* Formerly pokel.c.~11~Miles Bader1995-05-091-1/+6
|
* entered into RCSMiles Bader1995-05-091-2/+0
|
* Formerly balloc.c.~20~Miles Bader1995-05-091-2/+19
|
* Formerly ext2fs.h.~42~Miles Bader1995-05-091-3/+3
|
* entered into RCSMiles Bader1995-05-091-7/+11
|
* Formerly ext2fs.h.~41~Miles Bader1995-05-081-7/+13
|
* Formerly devio.c.~8~Miles Bader1995-05-081-0/+3
|
* Formerly ext2_fs.h.~18~Miles Bader1995-05-081-1/+1
|