aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/conch-fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* libdiskfs: Add relatime supportRyan Jeffrey2020-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * doc/hurd.texi (diskfs_set_node_atime): Document relatime behavior. * libdiskfs/diskfs.h (diskfs_set_node_atime): Likewise. * libdiskfs/init-init.c (_diskfs_relatime): Add variable. * libdiskfs/file-statfs.c (ST_RELATIME): Define if not defined already. (diskfs_S_file_statfs): Report ST_RELATIME when _diskfs_relatime is set. * libdiskfs/node-times.c (atime_should_update): New function. (diskfs_set_node_atime): Document relatime behavior. Call atime_should_update instead of reading _diskfs_noatime. * libdiskfs/opts-common.c (diskfs_common_options): Add --strictatime and -R/--relatime options. * libdiskfs/opts-std-runtime.c (struct parse_hook): Add relatime field. (set_opts): Set _diskfs_relatime from relatime field. (parse_opt): Parse -R option. * libdiskfs/opts-std-startup.c (parse_startup_opt): Parse -R option. * libdiskfs/priv.h (_diskfs_relatime): Declare variable. (atime_should_update): Declare function. * libdiskfs/opts-append-std.c (diskfs_append_std_options): Add reporting --relatime option. * libdiskfs/conch-fetch.c (iohelp_fetch_shared_data): Call atime_should_update instead of reading _diskfs_noatime. * libdiskfs/rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
* Normalize whitespace at the end of each file to '\n'Justus Winter2013-11-091-1/+0
| | | | | Some files were not normalized. In console/motd.UTF8 the additional newline is intentional. Empty files were excluded as well.
* 1999-09-20 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-201-2/+2
| | | | | | | | * node-times.c (diskfs_set_node_times): Don't implement _diskfs_noatime here. * conch-fetch.c (iohelp_fetch_shared_data): Don't update dn_set_atime on affected node if _diskfs_noatime. * rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
* (iohelp_fetch_shared_data): Use diskfs_check_readonly instead ofMichael I. Bushnell1996-06-241-2/+2
| | | | diskfs_readonly.
* (iohelp_fetch_shared_data): s/ioserver/iohelp/g.Michael I. Bushnell1996-05-091-3/+3
|
* (ioserver_fetch_shared_data): Implement diskfs_synchronous.Michael I. Bushnell1995-03-151-3/+14
|
* entered into RCSMichael I. Bushnell1994-10-071-4/+4
|
* Formerly conch-fetch.c.~2~Michael I. Bushnell1994-02-031-5/+17
|
* Initial revisionMichael I. Bushnell1994-02-031-0/+49