Age | Commit message (Collapse) | Author |
|
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t
before any_t.
|
|
* sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock
held, check _diskfs_diskdirty and don't sync if not dirty.
|
|
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
|
|
|
|
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_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
|
|
|
|
(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.
|
|
(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.
|
|
|
|
|