LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs sync, unusual load

To: Dean Manners <deanm@xxxxxxxxxxxxx>
Subject: Re: lvs sync, unusual load
Cc: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 15:15:05 +0900
On Fri, Nov 10, 2006 at 02:54:20PM +1100, Dean Manners wrote:
> Horms,
> 
> ip_vs_sync.c: 
> 885:        __set_current_state(TASK_UNINTERRUPTIBLE);
> 886:        add_wait_queue(&stop_sync_wait, &wait);
> 887:        set_stop_sync(state, 1);
> 888:        ip_vs_sync_state -= state;
> 889:        wake_up(&sync_wait);
> 890:        schedule();
> 891:        __set_current_state(TASK_RUNNING);
> 892:        remove_wait_queue(&stop_sync_wait, &wait);
> 
> Seems to have changed? Theres no "schedule_timeout(HZ);" throughout.

Actually, that is the shutdown code.

The problem is almost certainly caused inside sync_master_loop()
somewhere. Though it is using ssleep(), but perhaps its schemantics have
changed somehow.. I can readily reproduce the problem here. I will see

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


<Prev in Thread] Current Thread [Next in Thread>