summaryrefslogtreecommitdiff
path: root/libdiskfs/sync-interval.c
AgeCommit message (Collapse)Author
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t before any_t.
1999-10-231999-10-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock held, check _diskfs_diskdirty and don't sync if not dirty.
1999-01-011999-01-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
1996-07-28(periodic_sync): Don't sync if DISKFS_READONLY.Miles Bader
1996-01-27(diskfs_set_sync_interval):Miles Bader
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.
1995-11-06(diskfs_sync_interval): New variable.Miles Bader
(diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
1995-10-19(periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader
1995-10-05(periodic_sync_lock): Variable removed.Roland McGrath
(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.
1995-06-26(periodic_sync_thread, periodic_sync_lock): Declare static.Michael I. Bushnell
(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.
1995-06-09(diskfs_set_sync_interval): Use new args for ports_allocate_port.Michael I. Bushnell
1995-05-12Initial revisionMiles Bader