summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1997-07-29Tue Jul 29 15:38:15 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* name-cache.c (check_lookup_cache): Use name_cache_neg_timeout in preference to name_cache_timeout for negative hits. * nfs.h (name_cache_neg_timeout): New variable. * main.c (DEFAULT_NAME_CACHE_NEG_TIMEOUT): New macro. (name_cache_neg_timeout): Initialize new variable. (OPT_NCACHE_NEG_TO): New option key. (common_options): Add --name-cache-neg-timeout switch. (parse_common_opt): Process OPT_NCACHE_NEG_TO option key. * ops.c (netfs_attempt_lookup): Do cast of -1 correctly to match check_lookup_cache and ANSI C rules. * name-cache.c (check_lookup_cache): Unlock DIR correctly before returning a negative cache hit. * rpc.c (rpc_receive_thread): Don't print "dropping reply" messages any more. * ops.c (netfs_attempt_lookup): Cash all lookups, both positive and negative. (netfs_attempt_mkdir): Purge cache before creating directory entry. (netfs_attempt_link): Likewise. (netfs_attempt_create_file): Likewise. * ops.c (netfs_attempt_lookup): Pass correct node to enter_lookup_cache as the child. Thu Jul 24 13:15:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * name-cache.c: New file. * ops.c (netfs_attempt_lookup): Check lookup cache before trying RPC. After successful lookup, make cache entry. (netfs_attempt_unlink): Purge cache before doing operation. (netfs_attempt_rmdir): Likewise. (netfs_attempt_rename): Purge cache for both names before operation. * nfs.h (enter_lookup_cache, purge_lookup_cache, check_lookup_cache): New prototypes. * Makefile (SRCS): Add name-cache.c. * nfs.h (name_cache_timeout): New variable. * main.c (DEFAULT_NAME_CACHE_TIMEOUT): New macro. (name_cache_timeout): Initialize new variable. (OPT_NCACHE_TO): New option key. (common_options): Add --name-cache-timeout switch. (parse_common_opt): Process OPT_NCACHE_TO option key. * cache.c (lookup_fhandle): Don't parse NFS XDR format, instead take a length arg. Return void. All callers changed to use new function xdr_decode_fhandle. * nfs.c (xdr_decode_fhandle): New function. * nfs.h (xdr_decode_fhandle): New prototype. (lookup_fhandle): Update prototype.
1997-07-29.Miles Bader
1997-07-29(main):Miles Bader
When mungeing the destination to copy into a directory, do the name used to print error messages too.
1997-07-25.Miles Bader
1997-07-24.Miles Bader
1997-07-24(_store_derive):Miles Bader
Let BSIZE be zero.
1997-07-24(_store_create):Miles Bader
If BLOCK_SIZE is zero, make sure there are no runs.
1997-07-24(dev_map):Miles Bader
Pass 0 for OFFSET and SIZE arguments to device_map -- mach ignores them, and we often can't supply meaningful values. (store_device_create): Treat devices that can't do device_get_status as zero-length.
1997-07-24Initial checkinMiles Bader
1997-07-24.Miles Bader
1997-07-23Mon Jul 21 14:58:13 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (HURDLIBS): Add iohelp. * main.c (trivfs_goaway): If FSYS_GOAWAY_FORCE is set, then go away, otherwise, continue to return EBUSY.
1997-07-23*** empty log message ***Thomas Bushnell
1997-07-23Mon Jul 21 16:18:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf (linking .prof executable): Don't mutate library names here. (making %.prof_d special target): Mutate library names here. (%.prof_d): Depend on Makefile in srcdir.
1997-07-23.Miles Bader
1997-07-23(trivfs_S_io_select):Miles Bader
Don't bother returning EBADF. (trivfs_S_io_readable, trivfs_S_io_read, trivfs_S_io_map): Return EBADF instead of EINVAL.
1997-07-23(main):Miles Bader
Failure to map MAPPED_TIME is a fatal error. Include <error.h>.
1997-07-23(maptime_map):Miles Bader
Allow MTIME to be mapped anywhere.
1997-07-23.Miles Bader
1997-07-23(prog-subdirs):Miles Bader
Add usermux.
1997-07-23Initial checkinMiles Bader
1997-07-22.Miles Bader
1997-07-22(trivfs_S_io_read):Miles Bader
Return EINVAL instead of EBADF. (trivfs_S_io_map): Return EINVAL if CRED cannot be read or written.
1997-07-22.Miles Bader
1997-07-22(time):Miles Bader
Use /hurd/storeio instead of /hurd/devport.
1997-07-22Remove devport from dependencies.Miles Bader
1997-07-22(SRCS):Miles Bader
Remove devport.c. (targets): Remove devport.
1997-07-22Remove hurd/devport.Miles Bader
1997-07-22Initial checkinMiles Bader
1997-07-22(SRCS):Miles Bader
Add argz-replace.c (temporarily).
1997-07-22(maptime_map):Miles Bader
For the device-file case, don't use wierd file_get_storage_info method for getting device port, just use io_map to get a memory object directly from the file.
1997-07-22Superseded by improved libstore mapping supportMiles Bader
1997-07-22.Miles Bader
1997-07-22(dir):Miles Bader
Is isofs, not ufs.
1997-07-21.Miles Bader
1997-07-21(store_parsed_append_args):Miles Bader
Correctly unparse complex type names.
1997-07-21.Miles Bader
1997-07-21Use /boot/serverboot.gz rather than /boot/serverboot.Miles Bader
1997-07-21Compress boot/serverboot again.Miles Bader
1997-07-21Get rid of boot/grub/ffs_stage_15Miles Bader
1997-07-21(HURDLIBS):Miles Bader
Add iohelp.
1997-07-21(store_map_source):Miles Bader
Declaration removed.
1997-07-21(store_remap):Miles Bader
If we are mutating SOURCE, close any source port it has.
1997-07-21(store_map):Miles Bader
If we can't map STORE directly, and it has a source file, try to map that instead.
1997-07-21Mon Jul 21 16:00:04 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (LCLHDRS): Remove susp.h.
1997-07-18Initial versions.Thomas Bushnell
1997-07-18Fri Jul 18 16:37:22 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* isofs: New directory. * Makefile (prog-subdirs): Add isofs.
1997-07-17.Miles Bader
1997-07-17(dev_map):Miles Bader
New function. (store_device_class): Use dev_map. (dev_read, dev_write): Remove debugging grot.
1997-07-17(dev_get_memory_object):Miles Bader
Add PROT arg. Use store_map.
1997-07-17(file_map):Miles Bader
New function. (store_file_class): Use file_map.