From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecfBn-00072g-Iq for qemu-devel@nongnu.org; Fri, 19 Jan 2018 17:31:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecfBm-0004W1-N7 for qemu-devel@nongnu.org; Fri, 19 Jan 2018 17:31:11 -0500 References: <1512735034-35327-1-git-send-email-anton.nefedov@virtuozzo.com> From: John Snow Message-ID: Date: Fri, 19 Jan 2018 17:31:06 -0500 MIME-Version: 1.0 In-Reply-To: <1512735034-35327-1-git-send-email-anton.nefedov@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] ide: abort TRIM operation for invalid range List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anton Nefedov , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org On 12/08/2017 07:10 AM, Anton Nefedov wrote: > Started from the separate series discussion (trim statistics) , see > http://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg01059.html > > There is no range check for IDE trim requests now. > Such request will likely be rejected by the block layer and count as > failed and not an invalid/aborted operation. > > Anton Nefedov (3): > ide: pass IDEState to trim AIO callback > ide: move ide_sect_range_ok() up > ide: abort TRIM operation for invalid range > > hw/ide/core.c | 53 +++++++++++++++++++++++++++++++++-------------------- > 1 file changed, 33 insertions(+), 20 deletions(-) > I forgot about this series due to the 2.11 freeze and winter break. It appears to still apply, so I'll send it along.