From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: use WRITE_FLUSH instead of REQ_FLUSH Date: Mon, 7 Jan 2013 09:23:49 -0500 Message-ID: <20130107142348.GA5097@redhat.com> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Kasatkin, Dmitry" , "Alasdair G. Kergon" List-Id: dm-devel.ids On Mon, Jan 07 2013 at 12:12am -0500, Mikulas Patocka wrote: > Hi Alasdair > > Please push this patch to 3.8 kernel. (I already sent it before, but it > was forgotten somehow). > > Mikulas > > --- > > dm-bufio: use WRITE_FLUSH instead of REQ_FLUSH > > Use WRITE_FLUSH instead of REQ_FLUSH to make it consistent with the rest > of the kernel. There is no functional change - the kernel accepts either > WRITE_FLUSH or REQ_FLUSH. Well the important distinction is the flush bio is originating in dm-bufio whereas other DM targets that test for REQ_FLUSH are just passing the flush through. Saying as much makes the need for this patch more explicit.