From: "Martin K. Petersen" Subject: Re: do not disable ext4 discards on first discard failure? [was: Re: dm snapshot: ignore discards issued to the snapshot-origin target] Date: Mon, 02 May 2011 10:20:54 -0400 Message-ID: References: <20110413224025.GA18589@redhat.com> <20110413234854.GA19793@redhat.com> <20110426173213.GA19604@redhat.com> <20110428001912.GA14659@redhat.com> <20110428075355.GA2190@infradead.org> <20110428205935.GA24979@redhat.com> <20110429122454.GL32370@agk-dp.fab.redhat.com> <20110502081308.GC8642@agk-dp.fab.redhat.com> <20110502081925.GA11312@infradead.org> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: sandeen@redhat.com, Mike Snitzer , Christoph Hellwig , device-mapper development , DarkNovaNick@gmail.com, linux-lvm@redhat.com, linux-ext4@vger.kernel.org, Alasdair G Kergon To: Lukas Czerner Return-path: In-Reply-To: (Lukas Czerner's message of "Mon, 2 May 2011 12:24:33 +0200 (CEST)") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com List-Id: linux-ext4.vger.kernel.org >>>>> "Lukas" == Lukas Czerner writes: Lukas> So I gave it a try. First of all the device composed of SSD and Lukas> spinning disk does export discard_support information properly, Lukas> however it also advertise discard_zeroes_data which is wrong and Lukas> possibly dangerous and should be fixed! I can't reproduce this here. If I mix discard and non-discard devices things work correctly. discard_zeroes_data also gets cleared if I mix discard-capable drives where one zeroes and one doesn't. -- Martin K. Petersen Oracle Linux Engineering