summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-map-segment.c (trivfs_S_io_map): New file. * io-map.c (trivfs_S_io_map): Just call trivfs_S_io_map_segment. * Makefile (IOSRCS): Add io-map-segment.c.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-map-segment.c: New file. Guts from io-map.c. * io-map.c (diskfs_S_io_map): Just call diskfs_S_io_map_segment. * diskfs.h (diskfs_get_filemap): New parameter `index'. * rdwr-internal.c (_diskfs_rdwr_internal): Pass additional parameter to diskfs_get_filemap. * Makefile (IOSRCS): Add io-map-segment.c.
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_get_directs): Initialize `err' to shut gcc up. 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> * dir.c (diskfs_lookup_hard): Pass additional parameter to diskfs_get_filemap. (diskfs_dirempty): Likewise. * sizes.c (diskfs_truncate): Likewise. (block_extended): Likewise. (diskfs_grow): Likewise. * pager.c (diskfs_get_filemap): Accept additional parameter.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* null.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * new-fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'. * fifo.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, with new parameter `index'.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* users.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here, and accept parameter `index'.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.c (S_io_map_segment): New function.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-ops.c (S_io_map_segment): New function.
1999-09-08Conform to addition of io_map_segment.Thomas Bushnell
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* iostubs.c (netfs_S_io_map_segment): New function.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c (diskfs_get_filemap): Accept additional parameter.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.defs (io_map_segment): New RPC. (io_map): Refer to io_map_segment; label as deprecated. (io_map_cntl, io_get_conch, io_release_conch, io_prenotify, io_eofnotify, io_postnotify, io_readnotify, io_readsleep, io_sigio): Label as deprecated.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_lookup_hard): Pass additional parameter to diskfs_get_filemap. (diskfs_dirempty): Likewise. * truncate.c (force_delayed_copies): Likewise. * pager.c (diskfs_get_filemap): Accept additional parameter.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* boot.c (S_io_map_segment): New function.
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* Makeconf (cleantarg): Add `$(libname)_pic.a'. [$(makemode) = library] (targets): Likewise. ($(libname)_pic.a): New rule. ($(libdir)/$(libname)_pic.a): Extended from the previous _p.a and .a rules. Submitted by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
1999-09-071999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* SETUP: Also set /servers/password.
1999-09-06*** empty log message ***Thomas Bushnell
1999-09-05.Roland McGrath
1999-09-051999-08-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (notify_shutdown): Add const to argument type.
1999-09-05typoRoland McGrath
1999-09-041999-08-10 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* portinfo.c: Correct documentation for (currently implemented) --target-send and --target-send-once options. Reported by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
1999-09-041999-09-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c (find_address): If !ISREAD, then don't return errors for access past NP->allocsize, and clear *ADDR and *DISKSIZE. These can happen through harmless races against truncate. (pager_write_page): Don't print annoying messages for writes to unallocated disk. These can happen through harmless races against truncate, and so we should not pester the console with them.
1999-09-041999-09-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c (file_pager_write_page): Don't report errors on writes that extend past NODE->allocsize. This avoids a race between sync and truncate. Reported by Mark Kettenis <kettenis@wins.uva.nl>.
1999-09-01.Roland McGrath
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* crash.c (trivfs_modify_stat): Remove redundant fstype setting. * password.c (trivfs_modify_stat): Likewise.
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* bogus-fifo.c (main): Deallocate bootstrap port after using it. * fifo.c (main): Likewise. * firmlink.c (main): Likewise. * ifsock.c (main): Likewise. * magic.c (main): Likewise. * null.c (main): Likewise. * symlink.c (main): Likewise.
1999-08-23.Roland McGrath
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_free_blocks): Handle freeing across group boundary, as Linux 2.3.14 does. * balloc.c (ext2_check_blocks_bitmap): If RO_COMPAT_SPARSE_SUPER feature flag is set, or if group number is not a power of 3, 5, or 7 (I don't know why; this is what Linux 2.3.14 does), skip tests for superblocks and descriptor blocks being free in bitmap. * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* inode.c (read_node): Don't set INFO->i_version. Extract INFO->i_dir_acl value only for a directory; otherwise use zero and instead extract INFO->i_high_size. Fail with EFBIG if INFO->i_high_size is nonzero. * inode.c (write_node): Get i_flags from NP->dn->info instead of from the disk inode, so we can have modified the in-core version. * dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from DP->dn->info.i_flags after modifying the directory (this is what Linux 2.3.14 does). * inode.c (read_node): i_version -> i_generation * inode.c (write_node): Likewise. * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ialloc.c (diskfs_alloc_node): Propagate initial value of i_flags from directory, as Linux 2.3.14 does.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions. * ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* inode.c (write_node): Get i_flags from NP->dn->info instead of from the disk inode, so we can have modified the in-core version. * dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from DP->dn->info.i_flags after modifying the directory (this is what Linux 2.3.14 does). * dir.c: Replace `struct ext2_dir_entry' with `struct ext2_dir_entry_2' in all uses. (ext2_file_type): New static const variable. (diskfs_get_directs): Set d_type member based on file_type field in directory entry.
1999-08-22.Roland McGrath
1999-08-201999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (parse_script): Add one to the buffer size so we can null-terminate after the end of the file.
1999-08-20.Roland McGrath
1999-08-201999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* portinfo.c (options): Doc fixes from Marcus.
1999-08-20.Roland McGrath
1999-08-20* mktime.c: File removed. Current libc code is good.Roland McGrath
1999-08-201999-08-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mktime.c: File removed. Current libc code is good. * Makefile (SRCS): Remove mktime.c.
1999-08-11*** empty log message ***Thomas Bushnell
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* open.c (ftp_conn_open): Ignore error from ftp_conn_sysify; it's ok if we can't successfully deal. If we didn't sysify successfully before login, then try again afterwards.
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
1999-07-31* mksmallso, mkemptyso: Files removed. The *.sh files are the source.Roland McGrath
1999-07-24.Roland McGrath
1999-07-241999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (split-init): Set to `yes' by default.
1999-07-24.Roland McGrath
1999-07-241999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-rmdir.c (diskfs_S_dir_rmdir): Fix bugs in last change. Replace label `out' with local inline function `done'. Don't try diskfs_nput (NP) when NP is null.
1999-07-24.Roland McGrath
1999-07-241999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.