--- fs/xfs/pagebuf/page_buf.c~ 2003-10-25 15:34:51.000000000 +0200 +++ fs/xfs/pagebuf/page_buf.c 2003-10-25 15:59:49.000000000 +0200 @@ -1645,11 +1645,11 @@ current->flags |= PF_MEMALLOC; SWSUSP_THREAD_FLAGS_RESET; - SWSUSP_ACTIVITY_START; + SWSUSP_ACTIVITY_START(PF_SYNCTHREAD); INIT_LIST_HEAD(&tmp); do { - SWSUSP_ACTIVITY_PAUSING; + SWSUSP_ACTIVITY_SYNCTHREAD_PAUSING; if (pbd_active == 1) { mod_timer(&pb_daemon_timer, @@ -1661,7 +1661,7 @@ del_timer_sync(&pb_daemon_timer); } - SWSUSP_ACTIVITY_RESTARTING; + SWSUSP_ACTIVITY_RESTARTING(PF_SYNCTHREAD); spin_lock(&pbd_delwrite_lock); count = 0; @@ -2096,7 +2096,7 @@ if (TQ_ACTIVE(pagebuf_iodone_tq[cpu])) __set_task_state(current, TASK_RUNNING); - SWSUSP_ACTIVITY_PAUSING; + SWSUSP_ACTIVITY_SYNCTHREAD_PAUSING; schedule(); SWSUSP_ACTIVITY_RESTARTING(PF_SYNCTHREAD); remove_wait_queue(&pagebuf_iodone_wait[cpu], &wait); --- fs/xfs/linux/xfs_super.c~ 2003-10-25 15:34:51.000000000 +0200 +++ fs/xfs/linux/xfs_super.c 2003-10-25 16:00:47.000000000 +0200 @@ -444,13 +444,13 @@ wake_up(&vfsp->vfs_wait_sync_task); SWSUSP_THREAD_FLAGS_RESET; - SWSUSP_ACTIVITY_START; + SWSUSP_ACTIVITY_START(PF_SYNCTHREAD); for (;;) { - SWSUSP_ACTIVITY_PAUSING; + SWSUSP_ACTIVITY_SYNCTHREAD_PAUSING; set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(xfs_syncd_interval); - SWSUSP_ACTIVITY_RESTARTING; + SWSUSP_ACTIVITY_RESTARTING(PF_SYNCTHREAD); if (vfsp->vfs_flag & VFS_UMOUNT) break; if (vfsp->vfs_flag & VFS_RDONLY)