summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1997-08-09(struct refresh_entry_state):Miles Bader
DIR_PFX & DIR_PFX_LEN fields removed. (ftpfs_dir_lookup, ftpfs_refresh_node): Use ftp_conn_append_name instead of path_append. Don't set dir_pfx fields in RES anymore. (lookup): Grow the hash table when it gets large. (update_old_entry): Don't futz with NAME anymore. (path_append): Macro removed. (update_new_entry): Don't futz with NAME anymore. (struct new_entry_state): DIR_PFX & DIR_PFX_LEN fields removed. (struct dir_fetch_state): Replace PREV_ENTRY by PREV_ENTRY_NEXT_P. (update_ordered_entry): Correctly handle a non-empty list. Only insert E in the ordered entry list if it's not already there. (rehash): Zero the new hash table. (refresh_dir): Don't clear the ordered entry list. Only reset bulk stat detection state if actually doing a bulk stat. Initialize DFS.prev_entry_next_p instead of DFS.prev_entry.
1997-08-09(ftpfs_hooks):Miles Bader
Initialize INTERRUPT_CHECK Field.
1997-08-09(ccache_read):Miles Bader
Check for thread cancelation.
1997-08-09(ftp_conn_unix_cont_get_stats):Miles Bader
Check for interrupts.
1997-08-09(ftp_conn_getline):Miles Bader
Check for interrupts.
1997-08-09(ftp_conn_cont_get_names):Miles Bader
Check for interrupts.
1997-08-09(struct ftp_conn_hooks):Miles Bader
Add INTERRUPT_CHECK field.
1997-08-08.Miles Bader
1997-08-08(append_basename):Miles Bader
New function. (main): Move target directory handling to append_basename. Use it also with remote transfers.
1997-08-08.Miles Bader
1997-08-08(SRCS):Miles Bader
Add fname.c
1997-08-08(ftp_conn_cont_get_names):Miles Bader
Use BASENAME hook instead of FIX_NLIST_NAME. Don't free DIR field. (ftp_conn_start_get_names): Don't set DIR field. (struct get_names_state): Remove DIR field.
1997-08-08(ftp_conn_rmt_transfer):Miles Bader
If we get an error, close SRC_CONN instead of aborting it, to avoid problems with some ftp servers.
1997-08-08(struct ftp_conn_syshooks):Miles Bader
Add APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): Declaration removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New declarations. (ftp_conn_append_name, ftp_conn_basename): New declarations.
1997-08-08(ftp_conn_create):Miles Bader
Don't open the connection here.
1997-08-08.Miles Bader
1997-08-08(econnect):Miles Bader
Add NAME parameter, & set connection hook from it. (cntl_debug): Print CONN->hook as a string before any output. (eappend, ebasename): New functions. (main): Use them. Set the connection hooks to appropriate strings.
1997-08-08(ftp_conn_unix_cont_get_stats):Miles Bader
Pass only directory-relative names to the callback function. (struct ftp_conn_unix_syshooks): Initialize APPEND_NAME and BASENAME fields; remove FIX_NLIST_NAME initialization. (ftp_conn_unix_fix_nlist_name): Function removed. (ftp_conn_unix_append_name, ftp_conn_unix_basename): New functions.
1997-08-08Initial checkin.Miles Bader
1997-08-07Thu Aug 7 16:01:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* inode.c (read_disknode): Units of st_blocks are 512 byte chunks, not logical_block_size chunks.
1997-08-07.Miles Bader
1997-08-07(ftp_conn_cont_get_names):Miles Bader
Support FIX_NLIST_NAME hook. Free S->dir if necessary. Close or abort connection when done. (ftp_conn_start_get_names): Fill in S->dir field if necessary. (struct get_names_state): Add DIR field.
1997-08-07(struct ftpfs_dir):Miles Bader
timestamp renamed to stat_timestamp. Add name_timestamp field. (struct ftpfs_params): Remove dirent_timeout and dir_timeout fields. Add name_timeout field. (struct ftpfs_dir_entry): dirent_timestamp renamed to name_timestamp.
1997-08-07(struct ftp_conn_syshooks):Miles Bader
Add FIX_NLIST_NAME field. (ftp_conn_unix_fix_nlist_name): New declaration.
1997-08-07(lookup):Miles Bader
Initialize timestamps. (update_ordered_name): New function. (ftpfs_dir_lookup): dirent_timeout parameter renamed to name_timeout and dirent_timestamp field renamed to name_timestamp. (update_entry): Allow ST to be zero. Don't leak memory when updating symlink info. Change return type to void. Remove NO_LOCK parameter. (update_ordered_entry, update_old_entry, update_new_entry): Update calls to update_entry. (refresh_dir): Add UPDATE_STATS parameter, and only fetch names if it's zero. Update new timestamps. (ftpfs_dir_refresh, ftpfs_refresh_node, ftpfs_dir_lookup): Supply UPDATE_STATS argument to refresh_dir.
1997-08-07(netfs_append_args):Miles Bader
Output --debug. (OPT_DIR_TIMEOUT, OPT_DIRENT_TIMEOUT): Macros removed. (common_options, parse_common_opt, netfs_append_args, main): Replace --dir-timeout & --dirent-timeout by --name-timeout. Add --bulk-stat-period and --bulk-stat-threshold options. (DEFAULT_DIR_TIMEOUT, DEFAULT_DIRENT_TIMEOUT): Macros removed. (OPT_NAME_TIMEOUT): New macro. (DEFAULT_NAME_TIMEOUT): New macro.
1997-08-07(ftp_conn_unix_syshooks):Miles Bader
Add ftp_conn_unix_fix_nlist_name. (ftp_conn_unix_fix_nlist_name): New function.
1997-08-07(main):Miles Bader
Use ARGP_IN_ORDER to parse args.
1997-08-07Wed Aug 6 15:23:03 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* ops.c (netfs_attempt_unlink): Purge cache-held references *before* counting live references. Use new function. * name-cache.c (purge_lookup_cache_node): New function. * nfs.h (purge_lookup_cache_node): New decl. * cache.c (netfs_node_norefs): Don't do delete RPC here, fork off a separate thread to do it. (struct fnd): New type. (forked_node_delete): New function.
1997-08-07.Miles Bader
1997-08-07(split_server_name):Miles Bader
Enable password parsing.
1997-08-07.Miles Bader
1997-08-07(idvec_merge_implied_gids):Miles Bader
Do all ids in UIDS even if one returns an error.
1997-08-07(ugids_set_posix_user):Miles Bader
Ignore errors from idvec_merge_implied_gids.
1997-08-07(ugids_add_user):Miles Bader
Ignore errors from idvec_merge_implied_gids.
1997-08-06.Miles Bader
1997-08-06(lookup):Miles Bader
Initialize the NODE field.
1997-08-06Initial checkin.Miles Bader
1997-08-06(parse_dir_entry):Miles Bader
Re-enable mktime calls.
1997-08-06.Miles Bader
1997-08-06(ftp_conn_sysify):Miles Bader
Handle REPLY_UNIMP_CMD for "syst".
1997-08-06(prog-subdirs):Miles Bader
Add ftpfs.
1997-08-06Remove unused mig crap.Miles Bader
1997-08-06Initial checkinMiles Bader
1997-08-04(ftp_conn_unix_cont_get_stats):Miles Bader
If returning with an error, ignore any return from ftp_conn_finish_transfer.
1997-07-29Thu Jul 24 12:57:26 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* name-cache.c (find_cache): Grammar doc fix.
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