From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756349AbbJ1WPy (ORCPT ); Wed, 28 Oct 2015 18:15:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57962 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752902AbbJ1WPx (ORCPT ); Wed, 28 Oct 2015 18:15:53 -0400 From: Jeff Moyer To: Ulf Hansson Cc: Grant Grundler , Jens Axboe , "linux-mmc\@vger.kernel.org" , LKML , Gwendal Grignou Subject: Re: RFC: 32-bit __data_len and REQ_DISCARD+REQ_SECURE References: X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Wed, 28 Oct 2015 18:15:51 -0400 In-Reply-To: (Ulf Hansson's message of "Wed, 21 Oct 2015 11:00:57 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ulf Hansson writes: > I am not sure if this issue is the same as been discussed earlier on > the mmc list regarding "discard/erase". > > Anyway, there have been several attempts to fix bugs related to this. > One of these discussion kind of pointed out a viable solution, but > unfortunate no patches that adopts that solution have been posted yet. > > You might want to read up on this. > https://www.mail-archive.com/linux-mmc@vger.kernel.org/msg23643.html > http://linux-mmc.vger.kernel.narkive.com/Wp31G953/patch-mmc-core-don-t-return-1-for-max-discard > > So this is an old issue, which should have been fixed long long long time ago... Thanks Ulf. After reading all of the linked discussions, it's my understanding that this is an emmc-specific issue that doesn't require any block layer changes. If that's wrong, please let me know. Cheers, Jeff