Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* Makefile (targets): Remove freeauth, added accidentally.
|
|
|
|
* ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific
routines *_page_{read,write}_file_direct. Moved to ...
* file_io.c (page_read_file_direct, page_write_file_direct): Don't
call fs-specific routine, these are not fs-specific. Instead,
replaced with former fs-specific routines (which were all identical).
Read and write more than a fs block when disk blocks are contiguous.
|
|
|
|
* default_pager.c (new_partition): When reading Linux signature page,
handle pager_read_file_direct returning sub-page blocks.
|
|
|