From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [linux-lvm] Re: What really works? Message-ID: <20011023104359.B385@btconnect.com> References: <002501c15a66$34f8d010$836788cf@industry> <20011022230524.B4212@redhat.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20011022230524.B4212@redhat.com>; from sct@redhat.com on Mon, Oct 22, 2001 at 11:05:24PM +0100 From: Joe Thornber Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Tue Oct 23 04:42:01 2001 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com Stephen, On Mon, Oct 22, 2001 at 11:05:24PM +0100, Stephen C. Tweedie wrote: > LVM folks, am I missing something here? I can't see how you can > assert that the device is truly quiescent after the LOCK_PE has been > set. You're not missing anything. The correct thing to do (as pointed out by Andrea Arc.) is to hook b_end_io such that we can keep track of all 'in flight' io's, and only start moving once these have completed. This is implemented in the new device-mapper driver that we are switching to shortly. I consider 'live' pvmove broken in the current LVM. - Joe