1、American National StandardDeveloped byfor Information Technology Zoned Device ATA Command Set (ZAC)INCITS 537-2016INCITS 537-2016INCITS 537-2016American National Standardfor Information Technology Zoned Device ATA Command Set(ZAC)SecretariatInformation Technology Industry CouncilApproved October 11,
2、 2016American National Standards Institute, Inc.AbstractThis standard specifies the command set that host systems use to access storage devices that implement one of the zones feature sets. This provides a common command set for systems manufacturers, system integrators, software suppliers, and supp
3、liers of storage devices that provide one of the zones feature sets.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgeme
4、nt of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerte
5、d effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conf
6、orming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the na
7、me of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American Na
8、tional StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublis
9、hed byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2016 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written pe
10、rmission of ITI, 1101 K Street NW, Suite 610, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neithe
11、r the developers nor the publisher have undertaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no
12、 such claims have been made. No further patent search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.iContentsPageForeword viiIntroduction x1 Sco
13、pe 12 Normative references 23 Definitions, abbreviations, and conventions 33.1 Definitions 33.2 Symbols and abbreviations 73.2.1 Abbreviations . 73.2.2 Units . 83.2.3 Symbols . 83.2.4 Mathematical operators 83.3 Keywords . 83.4 Conventions . 93.4.1 Overview 93.4.2 Precedence 103.4.3 Lists 103.4.3.1
14、Lists overview 103.4.3.2 Unordered lists. 103.4.3.3 Ordered lists 103.4.4 Numbering 113.4.5 Bit conventions . 113.4.6 Number range convention 113.4.7 State diagram convention 123.4.8 Offset convention . 124 Feature set definitions . 134.1 Introduction 134.2 Basic zoned device model . 134.3 Host Awar
15、e Zones feature set . 134.4 Host Managed Zones feature set 144.5 Zone attributes . 154.5.1 Summary 154.5.2 Zone Type zone attribute . 154.5.3 Zone Condition zone attribute 164.5.4 WPointer zone attribute 164.5.5 RWP Recommended zone attribute . 164.5.6 Non-Sequential Write Resources Active zone attr
16、ibute . 164.6 Zone types . 174.6.1 Overview 174.6.2 Conventional zones 174.6.3 Write pointer zones 174.6.3.1 Features common to all write pointer zones 174.6.3.1.1 General 174.6.3.1.2 Resetting the write pointer . 194.6.3.2 Sequential Write Preferred zones 194.6.3.2.1 Writing in Sequential Write Pre
17、ferred zones 194.6.3.2.2 Reading in Sequential Write Preferred zones 214.6.3.2.3 Substitute data pattern for Sequential Write Preferred zones 214.6.3.3 Sequential Write Required zones 214.6.3.3.1 Writing in Sequential Write Required zones. 21ii4.6.3.3.2 Reading in Sequential Write Required zones .22
18、4.6.3.3.3 Substitute data pattern for Sequential Write Required zones .234.6.3.3.4 Opening Sequential Write Required zones.244.6.3.4 Zone Condition state machine244.6.3.4.1 Overview .244.6.3.4.2 ZC1: Empty state 274.6.3.4.3 ZC2: Implicit_Open state.284.6.3.4.4 ZC3: Explicit_Open state 294.6.3.4.5 ZC
19、4: Closed state .304.6.3.4.6 ZC5: Full state.314.6.3.4.7 ZC6: Read_Only state.314.6.3.4.8 ZC7: Offline state 324.6.3.4.9 Manage Open Zone Resources function 324.6.3.4.9.1 Overview324.6.3.4.9.2 Processing a sequential write preferred zone324.6.3.4.9.3 Processing a sequential write required zone.334.6
20、.3.4.10 Explicitly Open Zone function334.6.3.4.11 Close Zone function 344.6.3.4.12 Finish Zone function344.6.3.4.13 Reset Write Pointer function .344.7 Additional features for the Host Aware Zones feature set and the Host Managed Zones feature set .344.7.1 Introduction .344.7.2 Zoned device internal
21、 resource management .354.7.3 Unexpected power removal 354.7.4 Media failure 364.7.5 Interactions with volatile caches 364.7.6 Interactions with the Sanitize Device feature set 374.7.7 Interactions with the Power Management feature set .384.7.8 Interactions with the SECURITY ERASE UNIT command 384.7
22、.9 Interactions with the SCT Write Same command .384.7.9.1 Overview.384.7.9.2 WRITE AND SET SUBSTITUTE DATA PATTERN bit384.7.9.3 ZONE POST PROCESSING field .395 Command descriptions 405.1 Command description introduction .405.2 Zone management commands .435.2.1 Overview .435.2.2 ZAC Management In co
23、mmand template, 4Ah, DMA445.2.2.1 Feature Set.445.2.2.2 Description445.2.2.3 Inputs445.2.2.3.1 Overview .445.2.2.3.2 Action specific fields445.2.2.3.3 ZM_ACTION field455.2.2.3.4 RETURN PAGE COUNT field 455.2.2.4 Normal Outputs and Error Outputs.455.2.2.5 NCQ encapsulation for a DMA ZAC Management In
24、 command 455.2.3 ZAC Management Out command template, 9Fh, Non-Data or DMA.465.2.3.1 Feature Set.465.2.3.2 Description465.2.3.3 Inputs465.2.3.3.1 Overview .465.2.3.3.2 PAGES TO SEND field.465.2.3.4 Normal Outputs and Error Outputs.475.2.3.5 Non-Data NCQ encapsulation 47iii5.2.3.6 NCQ encapsulation f
25、or a DMA ZAC Management Out command. 475.2.4 CLOSE ZONE EXT command 9Fh/01h, Non-Data 485.2.4.1 Feature Set 485.2.4.2 Description. 485.2.4.3 Inputs. 485.2.4.3.1 Overview 485.2.4.3.2 CLOSE ALL bit. 485.2.4.3.3 ZONE ID field 495.2.4.4 Normal Outputs 495.2.4.5 Error Outputs . 495.2.5 FINISH ZONE EXT co
26、mmand 9Fh/02h, Non-Data 505.2.5.1 Feature Set 505.2.5.2 Description. 505.2.5.3 Inputs. 505.2.5.3.1 Overview 505.2.5.3.2 FINISH ALL bit. 505.2.5.4 Normal Outputs 515.2.5.5 Error Outputs . 515.2.6 OPEN ZONE EXT command 9Fh/03h, Non-Data 525.2.6.1 Feature Set 525.2.6.2 Description. 525.2.6.3 Inputs. 52
27、5.2.6.3.1 Overview 525.2.6.3.2 OPEN ALL bit 525.2.6.4 Normal Outputs 535.2.6.5 Error Outputs . 535.2.7 REPORT ZONES EXT command 4Ah/00h, DMA 545.2.7.1 Feature Set 545.2.7.2 Description. 545.2.7.3 Inputs. 545.2.7.3.1 Overview 545.2.7.3.2 PARTIAL bit 545.2.7.3.3 REPORTING OPTIONS field. 555.2.7.3.4 ZO
28、NE LOCATOR field. 555.2.7.4 Normal Outputs 555.2.7.5 Error Outputs . 555.2.7.6 Input From the Device to the Host Data Structure. 565.2.7.6.1 Overview 565.2.7.6.2 ZONE LIST LENGTH field 565.2.7.6.3 SAME field 575.2.7.6.4 MAXIMUM LBA field . 575.2.7.6.5 Zero padding 575.2.7.6.6 Zone descriptor format
29、. 585.2.7.6.6.1 Overview. 585.2.7.6.6.2 ZONE TYPE field 585.2.7.6.6.3 ZONE CONDITION field . 595.2.7.6.6.4 NON_SEQ bit. 595.2.7.6.6.5 RESET bit . 595.2.7.6.6.6 ZONE LENGTH field 595.2.7.6.6.7 ZONE START LBA field . 595.2.7.6.6.8 WRITE POINTER LBA field. 595.2.8 RESET WRITE POINTER EXT command 9Fh/04
30、h, Non-Data . 605.2.8.1 Feature Set 605.2.8.2 Description. 605.2.8.3 Inputs. 605.2.8.3.1 Overview 605.2.8.3.2 RESET ALL bit. 60iv5.2.8.4 Normal Outputs 615.2.8.5 Error Outputs 616 Log definitions 626.1 Introduction .626.2 IDENTIFY DEVICE data log (Log Address 30h) 626.2.1 Overview .626.2.2 Zoned Dev
31、ice Information (page 09h) .626.2.2.1 Overview.626.2.2.2 URSWRZ bit 636.2.2.3 OPTIMAL NUMBER OF OPEN SEQUENTIAL WRITE PREFERRED ZONES field.636.2.2.4 OPTIMAL NUMBER OF NON-SEQUENTIALLY WRITTEN SEQUENTIAL WRITE PREFERRED ZONES field 636.2.2.5 MAXIMUM NUMBER OF OPEN SEQUENTIAL WRITE REQUIRED ZONES fie
32、ld636.2.2.6 Version information.646.2.2.6.1 ZAC MINOR VERSION field 647 Normal and Error Outputs 657.1 Overview .657.2 Normal Outputs 657.3 Error Outputs 66Annex A (informative) Host Considerations for Zoned Devices.67A.1 Introduction 67A.2 Writing to write pointer zones .67A.3 Open zone considerati
33、ons .67A.3.1 Overview .67A.3.2 Explicitly opened zones and implicitly opened zones .68A.3.3 Opening and closing zones 69A.3.4 Finish Zone function considerations .69A.4 Open zone resources considerations based on zone type 69A.4.1 Sequential Write Preferred zones .69A.4.2 Sequential Write Required z
34、ones .70A.5 Partial failures 70A.5.1 Overview .70A.5.2 Sanitize considerations .70Annex B (informative) Bibliography72vTablesPageTable 1 - Numbering conventions . 11Table 2 - Summary of zone attributes . 15Table 3 - Zone Type zone attribute. 15Table 4 - Relationships between zone attributes 15Table
35、5 - Zone Condition zone attribute 16Table 6 - Zone Condition state machine functions 25Table 7 - Characteristics and attributes associated with zone state . 25Table 8 - ZAC OPTIONS field 38Table 9 - ZONE POST PROCESSING field 39Table 10 - Example Command Structure 40Table 11 - Example Normal Output.
36、 41Table 12 - Example Error Output 42Table 13 - Zone management commands 43Table 14 - ZAC Management In command template inputs44Table 15 - ZM_ACTION field 45Table 16 - RECEIVE FPDMA QUEUED command encapsulation for the inputs used by the ZAC Management In command 45Table 17 - ZAC Management Out com
37、mand template inputs. 46Table 18 - NCQ NON-DATA command encapsulation for the inputs used by the ZAC Management Out command . 47Table 19 - SEND FPDMA QUEUED command encapsulation for the inputs used by the ZAC Management Out command . 47Table 20 - CLOSE ZONE EXT command inputs 48Table 21 - FINISH ZO
38、NE EXT command inputs. 50Table 22 - OPEN ZONE EXT command inputs 52Table 23 - REPORT ZONES EXT command inputs . 54Table 24 - REPORTING OPTIONS field 55Table 25 - REPORT ZONES EXT input from device to host 56Table 26 - SAME field . 57Table 27 - Zone descriptor format. 58Table 28 - ZONE TYPE field. 58
39、Table 29 - ZONE CONDITION field 59Table 30 - RESET WRITE POINTER EXT command inputs 60Table 31 - Zoned Device Information 62Table 32 - ZAC MINOR VERSION field . 64Table 33 - Generic ZAC Extended Normal Output 65Table 34 - Generic ZAC Extended Error Output . 66viFiguresPageFigure 1 - ATA document rel
40、ationships 1Figure 2 - State diagram convention 12Figure 3 - Zones in a zoned device 13Figure 4 - Write pointer zone and write pointer after Reset Write Pointer function withno subsequent writes . 17Figure 5 - Write pointer zone and write pointer example . 18Figure 6 - Example effects of host action
41、s on a write pointer zone 19Figure 7 - Example write command that starts at the write pointer 20Figure 8 - Examples of write commands that do not start at the write pointer . 20Figure 9 - Zone Condition state machine . 26viiForeword (This foreword is not part of American National Standard INCITS 537
42、-2016.)This standard specifies the command set that host systems use to access storagedevices that implement one of the zones feature sets. This provides a common com-mand set for systems manufacturers, system integrators, software suppliers, andsuppliers of storage devices that provide one of the z
43、ones feature sets.This standard contains two informative annexes, which are not considered part of thisstandard.Requests for interpretation, suggestions for improvement and addenda, or defect re-ports are welcome. They should be sent to the INCITS Secretariat, ITI, 1101 K StreetNW, Suite 610, Washin
44、gton, DC 20005.This standard was processed and approved for submittal to ANSI by InterNationalCommittee for Information Technology Standards (INCITS). Committee approval ofthis standard does not necessarily imply that all committee members voted for ap-proval. At the time it approved this standard,
45、INCITS had the following members:Philip Wennblom, ChairJennifer Garner, SecretaryOrganization Represented Name of RepresentativeAdobe Systems, Inc Scott FosheeSteve Zilles (Alt.)AIM Global, Inc. Steve HallidayMary Lou Bosco (Alt.)Chuck Evanhoe (Alt.)Dan Kimball (Alt.)Apple Helene WorkmanMarc Braner
46、(Alt.)Virginia Fournier (Alt.)David Singer (Alt.)Dell, Inc. David BlackSaid Tabet (Alt.)Department of Commerce - NIST. Michael HoganWo Chang (Alt.)Sal Francomacaro (Alt.)Elaine Newton (Alt.)Distributed Management Task Force (DMTF) John CrandallHemal Shah (Alt.)Farance, Inc Frank Farance Timothy Scho
47、echle (Alt.)Futurewei Technologies, Inc. Yi ZhaoWilbert Adams (Alt.)Timothy Jeffries (Alt.)GS1GO. Charles BissAndrew Hearn (Alt.)Edward Merrill (Alt.)Hewlett-Packard Enterprise Joel Fleck IIHP, Inc Karen Higginbottom Paul Jeran (Alt.)Beatrice Tam (Alt.)IBM Corporation Steve HolbrookAlexander Tarpini
48、an (Alt.)IEEE . Jodie HaaszVictoria Kuperman-Super (Alt.)Don Wright (Alt.)Intel Corporation . Philip Wennblom Stephen Balogh (Alt.)Grace Wei (Alt.)Microsoft Corporation . Laura Lindsay John Calhoon (Alt.)viiiOrganization Represented Name of RepresentativeOracle Corporation . Donald R. Deutsch Patric
49、k Curran (Alt.)Anish Karmarkar (Alt.)Michael Kavanaugh (Alt.)Peter Lord (Alt.)Jim Melton (Alt.)Jan-Eike Michels (Alt.)Toshihiro Suzuki (Alt.)Purdue University Stephen Elliott Kevin OConnor (Alt.)Telecommunications Industry Association (TIA) Florence OtienoStephanie Montgomery (Alt.)US Department of Homeland Security . Peter Shebell Juan Gonzalez (Alt.)Teresa Lustig (Alt.)Gregg Piermarini (Alt.)Technical Committee T13 on ATA Interfaces, that reviewed this standard, had the fol-lowing members and additional participants:Dan Colegrove,Chair (Toshiba America Electronic Componen