[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ide
Subject: Re: TRIM / UNMAP read response
From: Douglas Gilbert <dgilbert () interlog ! com>
Date: 2011-08-12 14:55:29
Message-ID: 4E453EE1.4050705 () interlog ! com
[Download RAW message or body]
On 11-08-12 09:28 AM, joystick wrote:
> Hi all IDE and SCSI ml's,
>
> is it guaranteed by the standards that reading from a device a region that has
> been TRIMmed (IDE) or UNMAPped (SCSI) will certainly return zeroes?
ATA:
In 'hdparm -I' you need to see this line:
* Deterministic read ZEROs after TRIM
[See the ATA IDENTIFY DEVICE command]
SCSI:
In the READ CAPACITY (16) response the LBPRZ needs to
be set to 1. Recently the same LBPRZ bit was added to
the Logical Block Provisioning VPD page (sbc3r27.pdf).
Doug Gilbert
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic