On Wed, Feb 09, 2005 at 02:29:56AM -0800, Can Sar hit keys to express the following: > Hi, > > I've been trying to figure this out for days now and can't get it to > work. For ext3 JBD has a commit thread that runs every 5 seconds. I > have to make this thread run at arbitrary times, or at least perform > the equivalent work. For those wondering why, it's for a research > project. The important function here is kjournald which at the > beginning creates on a timer which I suppose it waits on for 5 seconds. > But I cannot find any code where the actual waiting happens. I have fs/jbd/joural.c has timer, which is stored in journal->j_commit_timer. it has a wait_event ( in journal_start_thread() ). What exactly are you looking for? HTH, Om -- Green light in A.M. for new projects. Red light in P.M. for traffic tickets. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/