Hi, [For those not in the know already, cachefs acts as a local cache for unchanged files on network filesystems. Works (more or less) for me with 2.6.9 and nfs.] Not sure how many are using these two patches together, but the following gets cachefs's kcachefsd kernel thread to play nicely with swsusp2. #-------------------------------------------------------------------------- --- 1/fs/cachefs/kcachefsd.c 2004-11-09 22:07:51.000000000 +0000 +++ 2/fs/cachefs/kcachefsd.c 2004-11-16 20:01:05.000000000 +0000 @@ -78,10 +78,16 @@ schedule(); set_current_state(TASK_INTERRUPTIBLE); + if (current->flags & PF_FREEZE) + break; } remove_wait_queue(&super->batch_timer_wq, &myself2); remove_wait_queue(&super->dmn_sleepq, &myself); + + if (current->flags & PF_FREEZE) + refrigerator(PF_FREEZE); + set_current_state(TASK_RUNNING); } /* end kcachefsd_sleep() */ #-------------------------------------------------------------------------- Regards, Jonathan -- .__ |..|__ _____ _____ ___ ____ _ ____ |;;|: \ /;:;:;\ /;:;:;\ /;:;\ /;;;;\/;\/\/;;;;\ | Y \ Y Y \ Y Y \ Y \ | ___ \ |\_| ___ \ |___| /__|_| /__|_| /__| / o \_____/ | \___ / \/ \/ \/ \/ \/ _/ / \__/ hmmnsoft's FreeShade : window shading, for Windows, for free http://www.hmmn.org/FreeShade _______________________________________________ SoftwareSuspend-devel mailing list SoftwareSuspend-devel@xxxxxxxxxxxxxxxx http://lists.berlios.de/mailman/listinfo/softwaresuspend-devel