Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964802AbWAWFlg (ORCPT ); Mon, 23 Jan 2006 00:41:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964804AbWAWFlg (ORCPT ); Mon, 23 Jan 2006 00:41:36 -0500 Received: from smtp.osdl.org ([65.172.181.4]:9188 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S964802AbWAWFlf (ORCPT ); Mon, 23 Jan 2006 00:41:35 -0500 Date: Sun, 22 Jan 2006 21:41:11 -0800 From: Andrew Morton To: Alasdair G Kergon Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/9] device-mapper snapshot: barriers not supported Message-Id: <20060122214111.11170cdc.akpm@osdl.org> In-Reply-To: <20060120211759.GG4724@agk.surrey.redhat.com> References: <20060120211759.GG4724@agk.surrey.redhat.com> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 19 Alasdair G Kergon wrote: > > The snapshot and origin targets are incapable of handling barriers and > need to indicate this. > > ... > > + if (unlikely(bio_barrier(bio))) > + return -EOPNOTSUPP; > + And what was happening if people _were_ sending such BIOs down? Did it all appear to work correctly? If so, will this change cause currently-apparently-working setups to stop working? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/