|
From: | Anton Nefedov |
Subject: | Re: [Qemu-devel] [PATCH 3/3] ide: abort TRIM operation for invalid range |
Date: | Mon, 11 Dec 2017 11:38:57 +0300 |
User-agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 8/12/2017 10:51 PM, John Snow wrote:
Looks about right, just remember that this flow won't call block_acct_invalid because you're bypassing the return to ide_dma_cb. I assume you'll get to that in your next series.
Yes; I meant to keep the trim accounting in ide_issue_trim_cb()
For now, this should properly reject bogus TRIM commands. When you send your next series, may I ask for a simple test case if possible?
Sure, I'll look into it
1-3: Reviewed-by: John Snow <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |