Age | Commit message (Collapse) | Author |
|
|
|
Don't delete entries that have the NOENT flag set.
(refresh_dir):
Ensure that there are entries for `.' and `..'.
|
|
|
|
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.
|
|
Initialize INTERRUPT_CHECK Field.
|
|
Check for thread cancelation.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
Enable password parsing.
|
|
Initialize the NODE field.
|
|
|
|
|
|
|