Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbcD1QLs (ORCPT ); Thu, 28 Apr 2016 12:11:48 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:51674 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbcD1QLq (ORCPT ); Thu, 28 Apr 2016 12:11:46 -0400 Message-ID: <1461859893.1169.49.camel@decadent.org.uk> Subject: Re: [PATCH 3.16 106/217] sd: disable discard_zeroes_data for UNMAP From: Ben Hutchings To: Rafael David Tinoco Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, akpm@linux-foundation.org, Paolo Bonzini , "Martin K. Petersen" , Christoph Hellwig Date: Thu, 28 Apr 2016 18:11:33 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-T8Nmw3X0sNhqIC55zcBt" X-Mailer: Evolution 3.18.5.1-1 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 195.245.225.248 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8943 Lines: 132 --=-T8Nmw3X0sNhqIC55zcBt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 T24gV2VkLCAyMDE2LTA0LTI3IGF0IDE3OjQzIC0wMzAwLCBSYWZhZWwgRGF2aWQgVGlub2NvIHdy b3RlOgo+IEl0IHNlZW1zIHRoYXQgY2hhbmdpbmcgZGlzY2FyZCBtZXRob2QgZnJvbSBVTk1BUCB0 byBXUklURSBTQU1FKDE2KQo+IHdpdGhvdXQgdXNpbmcgTkRPQiBiaXQgKGFzIGZpcnN0IGRlc2Ny aWJlZCBpbiBzYmMzcjM1Yi5wZGYpIGNhbiBjYXVzZQo+IHBlcmZv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XJkKHNka3AsIFNEX0xCUF9ESVNBQkxFKTsKPiA+IMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgfQo+ID4gCj4gCj4gCi0tIApCZW4gSHV0Y2hp bmdzCkFsbCBleHRyZW1pc3RzIHNob3VsZCBiZSB0YWtlbiBvdXQgYW5kIHNob3Qu --=-T8Nmw3X0sNhqIC55zcBt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXIjY1AAoJEOe/yOyVhhEJDUwP/1OeEdfS1BKHiv75lS2T5F9U dT1f5kbDQzmynjPSr5G/cGsES0do/rWdj5XCV6LD89evRhzgKfuNMEoZKN6gidL+ ZEJnmNCmfQQgiVYunQxChmH+8260JCqwv9HIj3wBrxQAFWQ1BtxE9ShRTO2EhXCS a+z5fJuU29RC22UTZxCJ6SVV8l8uRNrbRyxnIkY4ILdKjEui3NMVpqpL7pMyoC+k WtUJCEsfoYQzjzElVR0TKpHfUKcj+MW7RjahP1aZCJY6qGDcfNJ0wc4QHakRroXg O3FXFgCFvXSELnT+A6ys/cTneTwJK4ee9C1IxOmQTPl3LDFsNY2SDpXsf8K+a0Yu dayNB8G3kICI1qTdFTvM3VBwmPbCP55R52mD1QG0LdamNhYDNHzhzgIsDacJYcMr Ztw8IpTIgv7EQrx7dKZvAwVnKHrmScPJt27r1s6Y0Nk6hAYHNqkNrj8eQmEMhIGZ Za7iyMpa1e3oONdkmRTUp1Cz1NMWhlCGUTzuH6m78hkM3vToIbznKsbqaqhzFgEY vkysiIL6qMSGNBde7KxJoDQh250S2Y+HUIUGfv0VnHJ4kinmgX9rkCRDPMUGwZKb 3YdkVhKZ32PMvVzQrUBeaB8VwbGUIMwZakv871GPPhwCWnjFSQ/pcy4H2BPP5S+y VX+DQzE3e+wrgaFMdQ9o =AO0N -----END PGP SIGNATURE----- --=-T8Nmw3X0sNhqIC55zcBt--