summaryrefslogtreecommitdiff
path: root/ext2fs
AgeCommit message (Collapse)Author
1995-10-21(main):Miles Bader
Always include VM_PROT_WRITE in max prot. Use DISK_PAGER directly, not ->p. Use diskfs routines to open the device. Support both file and mach devices. Move the parse function here. Use argp for parsing. (usage, USAGE, SHORT_OPTS, long_opts, console_stdio): Removed (parse_opt): Move into main (as a nested function). (printf, _ext2_error, _ext2_panic, _ext2_warning): Functions moved to msg.c (diskfs_init_completed): Func deleted (now in libdiskfs).
1995-10-20Initial revisionMiles Bader
1995-10-20(SRCS): Remove devio.c, add msg.c and storeinfo.c.Miles Bader
1995-10-20(dev_read_sync, dev_write_sync):Miles Bader
Offset the address to which we're doing i/o with DEVICE_START.
1995-10-20(enable_delayed_copies, force_delayed_copies):Miles Bader
Replace fileinfo field with pager. (force_delayed_copies): Give diskfs_get_filemap a protection arg.
1995-10-20(allocate_mod_map): New function (from get_hypermetadata).Miles Bader
(zeroblock, modified_global_blocks): Define (were common). (diskfs_readonly_changed): New function. (get_hypermetadata): Deallocate ZEROBLOCK if necessary. Use allocate_mod_map to allocate MODIFIED_GLOBAL_BLOCKS. Use diskfs device functions & variables instead of our own.
1995-10-20(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-10-20(struct user_pager_info): Add max_prot field, remove p.Miles Bader
(struct disknode): Replace fileinfo field with pager. (pokel_flush, flush_node_pager): New declarations. (disk_pager): Type changed to struct pager. (sync_global_ptr): Use DISK_PAGER, not DISK_PAGER->p. (device_arg, device_name, device_port, device_start, device_size, device_block_size): Declarations removed. (MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_SYNCHRONOUS, MS_REMOUNT, S_APPEND, S_IMMUTABLE, IS_APPEND, IS_IMMUTABLE): Macros deleted.
1995-10-05(diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize.Miles Bader
fsys_stb_fsize -> fsys_stb_bsize.
1995-09-17(pokel_init): Initialize the free_pokes field.Miles Bader
(pokel_add): Assert that this malloc should succeed. (pokel_sync): Don't hold POKEL's spin lock while syncing.
1995-09-17(diskfs_alloc_node): Check for a non-zero ALLOCSIZE.Miles Bader
1995-09-15(trunc_indirect): Only record an indirect block as being modified when itMiles Bader
actually is.
1995-09-15u32 --> block_tMiles Bader
1995-09-15(diskfs_truncate): Use the new truncate functions.Miles Bader
(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.
1995-09-13(diskfs_lookup): Require NPP set for RENAME too.Miles Bader
1995-09-13(diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMiles Bader
even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
1995-09-05(diskfs_pager_users): Ignore the disk pager when seeing if there are anyMiles Bader
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.
1995-09-03(thread_cancel): Removed.Miles Bader
1995-08-25(ext2fs): Put libports in the right place in the linking order.Miles Bader
1995-08-24(LCLHDRS): Put all dependencies here.Miles Bader
(HURDLIBS): Removed. Remove rules for error.o.
1995-07-21(diskfs_get_filemap): Drop initial reference created by pager_create.Michael I. Bushnell
(pager_clear_user_data): Only clear UPI->node->dn->fileinfo if it still points to us.
1995-07-21(diskfs_get_filemap): Free initial reference created by pager_create.Michael I. Bushnell
1995-07-09(diskfs_pager_users): New function.Miles Bader
1995-07-06Removed dependencies that are now automatically generated.Michael I. Bushnell
1995-06-27(pager_unlock_page): Declare BLOCK volatile.Michael I. Bushnell
1995-06-24(force_delayed_copies, enable_delayed_copies): Change pager [un]ref calls toMiles Bader
use the new ports ref calls directly instead.
1995-06-24(struct user_pager_info): Remove the next & prevp fields.Miles Bader
1995-06-24(diskfs_direnter): Move assignment out of test.Miles Bader
(diskfs_get_directs): Fix print-format types.
1995-06-24(diskfs_free_node): Fix print-format types.Miles Bader
1995-06-24(diskfs_lost_hardrefs): Change pager [un]ref calls to use the new ports refMiles Bader
calls directly instead. (diskfs_node_iterate): New function. (write_all_disknodes): Re-implemented using diskfs_node_iterate.
1995-06-24(main): Have the initial thread die when it's done, leaving other thread toMiles Bader
do the work. (thread_cancel): Dummy function.
1995-06-24(thread_function): New function.Miles Bader
(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).
1995-06-24(HURDLIBS): Add libihash.Miles Bader
1995-06-14(diskfs_get_translator): Conform to new memory usage semantic.Michael I. Bushnell
1995-05-20Use options_parse & diskfs_standard_startup_options to do command lineMiles Bader
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.
1995-05-19Add the --writable & --nosync options.Miles Bader
1995-05-14(diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size.Miles Bader
1995-05-13(OBJS): Remove exec_server_image.o.Roland McGrath
(exec_server_image.o): Rule removed.
1995-05-12Add an optional argument to the --sync option that lets the user specify anMiles Bader
initial sync interval.
1995-05-12Change uses of the ext2_{warning,error,panic} functions to not have theMiles Bader
initial function name argument (it's now supplied automagically).
1995-05-12(ext2_error, ext2_warning, ext2_panic, all callers changed): Make these intoMiles Bader
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.
1995-05-12(ext2_free_blocks, ext2_new_block): Get rid of the CHECK_STRICT variable,Miles Bader
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).
1995-05-12(ext2_error, ext2_warning, ext2_panic): Rename to add the underline prefixMiles Bader
(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.
1995-05-12(pager_unlock_page): Give an explanation of why the file system will shortlyMiles Bader
crash.
1995-05-11(main): Enable the bootstrap code.Miles Bader
1995-05-11(read_disknode): Make st_blksize larger: 2 * pagesize.Miles Bader
1995-05-10(block_getblk, inode_getblk): Return ENOSPC instead of EIO when we can'tMiles Bader
allocate a new block.
1995-05-10(find_next_zero_bit): Fix stupid typos (present in the original linux sourceMiles Bader
I copied this function from!) which were causing occasional garbage results.
1995-05-09entered into RCSMiles Bader
1995-05-09Formerly ext2fs.h.~43~Miles Bader