aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/sync-interval.c
Commit message (Collapse)AuthorAgeFilesLines
* 1999-10-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-231-2/+8
| | | | | * sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock held, check _diskfs_diskdirty and don't sync if not dirty.
* 1999-01-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-011-2/+2
| | | | * sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
* (periodic_sync): Don't sync if DISKFS_READONLY.Miles Bader1996-07-281-4/+7
|
* (diskfs_set_sync_interval):Miles Bader1996-01-271-13/+21
| | | | | | | Use ports_create_port instead of ports_allocate_port. Deal with ports_inhibit_class_rpcs returning an error. (periodic_sync): Pass in the MSG_ID arg to ports_begin_rpc, and deal with any error returned.
* (diskfs_sync_interval): New variable.Miles Bader1995-11-061-2/+6
| | | | (diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
* (periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader1995-10-191-0/+2
|
* (periodic_sync_lock): Variable removed.Roland McGrath1995-10-051-33/+34
| | | | | | | (diskfs_set_sync_interval): Use ports_inhibit_port_rpcs on `pi' instead of the spin lock. (periodic_sync): Don't use the lock. Put ports_begin_rpc before check of periodic_sync_thread.
* (periodic_sync_thread, periodic_sync_lock): Declare static.Michael I. Bushnell1995-06-261-16/+13
| | | | | | | | (control): Delete var. (pi): New var. (diskfs_set_sync_interval): Set PI instead of CONTROL. (periodic_sync): Do sync by hand; use ports routines around it properly.
* (diskfs_set_sync_interval): Use new args for ports_allocate_port.Michael I. Bushnell1995-06-091-2/+2
|
* Initial revisionMiles Bader1995-05-121-0/+110