From: Alasdair G Kergon Subject: Re: [PATCH 0/2] Add suspended state check for target messages Date: Mon, 16 Nov 2009 13:23:06 +0000 Message-ID: <20091116132306.GA11886@agk-dp.fab.redhat.com> References: <20091113080637.17587.64935.stgit@localhost.localdomain> <4AFD3358.7000007@ct.jp.nec.com> <20091113141930.GA3185@agk-dp.fab.redhat.com> <4B00FE66.9020405@ct.jp.nec.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4B00FE66.9020405@ct.jp.nec.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On Mon, Nov 16, 2009 at 04:25:26PM +0900, Kiyoshi Ueda wrote: > On 11/13/2009 11:19 PM +0900, Alasdair G Kergon wrote: > > Would DMF_BLOCK_IO_FOR_SUSPEND work instead? > If we'd like to keep the ability to use message during flushing I/Os, > we should use another flag for this purpose and set it after > dm_wait_for_completion(). We should rename the flag as it's original meaning has changed:-) FOR_SUSPEND_OR_FLUSH Alasdair