Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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'.
|
|
* users.c (trivfs_S_io_map): Renamed to ...
(trivfs_S_io_map_segment): ... here.
|
|
* io.c (trivfs_S_io_map): Renamed to ...
(trivfs_S_io_map_segment): ... here, and accept parameter `index'.
|
|
* io.c (S_io_map_segment): New function.
|
|
* io-ops.c (S_io_map_segment): New function.
|
|
|
|
* iostubs.c (netfs_S_io_map_segment): New function.
|
|
* pager.c (diskfs_get_filemap): Accept additional parameter.
|
|
* 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.
|
|
* 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.
|
|
* boot.c (S_io_map_segment): New function.
|
|
* 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).
|
|
* SETUP: Also set /servers/password.
|
|
|
|
|
|
* init.c (notify_shutdown): Add const to argument type.
|
|
|
|
* portinfo.c: Correct documentation for (currently implemented)
--target-send and --target-send-once options. Reported by Marcus
Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
|
|
* 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.
|
|
* 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>.
|
|
|
|
* crash.c (trivfs_modify_stat): Remove redundant fstype setting.
* password.c (trivfs_modify_stat): Likewise.
|
|
* 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.
|
|
|
|
* 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).
|
|
* 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).
|
|
* ialloc.c (diskfs_alloc_node): Propagate initial value of i_flags
from directory, as Linux 2.3.14 does.
|
|
* 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.
|
|
* 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).
|
|
* 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.
|
|
|
|
* bootstrap.c (parse_script): Add one to the buffer size so we can
null-terminate after the end of the file.
|
|
|
|
* portinfo.c (options): Doc fixes from Marcus.
|
|
|
|
|
|
* mktime.c: File removed. Current libc code is good.
* Makefile (SRCS): Remove mktime.c.
|
|
|
|
* 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.
|
|
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
|
|
|
|
|
|
* Makefile (split-init): Set to `yes' by default.
|
|
|
|
* 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.
|
|
|
|
* term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.
|