본문 바로가기

Computer System/Storage

[Zoned Storage Device] 2. Zone Command & State

Zone State & State Transition

- Zone들은 각자의 특수한 state들을 가지고 있음

- State들은 zone command를 통해 전환이 일어남

- 각 state들은 device의 resource에 따라 limit이 정해짐

- Write operation을 받기 위해선 Open zones state에 있어야 함

Figure 1. Zone state transitions overview

 

  • Empty
    • Zone안에 아무런 데이터가 없음
  • Full
    • Zone안에 모든 block들에 data가 written 혹은
    • FINISH ZONE command를 통해 진입
  • Implicit Open
    • Zone block들이 최근 host에 의해 사용
    • Device의 resource를 사용
  • Explicit Open
    • OPEN ZONE command를 통해 진입
    • Device의 resource를 사용
  • Closed
    • CLOSE ZONE command를 통해 진입
    • Device의 resource를 free
  • Read Only
    • Zone에 read만 가능
  • Offline
    • Zone에 read와 write 둘 다 불가능

 

Zone Management Command

- 각 device의 zone들은 zone management command를 통해 관리

  • OPEN ZONE
  • CLOSE ZONE
  • FINISH ZONE
  • RESET ZONE
    • Zone의 write pointer를 zone의 맨 앞으로 옮김

 

Zone Resource Limit

- Zoned storage device의 내부 resource에 한계가 있어 한번에 관리하는 zone에 limit을 둠

Open Zones Limit

- Write operation을 받을 수 있는 Implicit Open와 Explicit Open state의 zone 갯수에 limit을 줌

- Read operation과는 관계가 없음

- Limit에 도달 했을 시 OPEN ZONE command가 실패

Active Zones Limit

- Implicit Open, Explicit Open, Closed state를 가진 zone에 대한 limit

 

 

 

 

 

 

 

출처:

https://zonedstorage.io/docs/introduction/zoned-storage

 

Zoned Storage Devices Overview | Zoned Storage

Zoned storage is a class of storage devices that have an address space that is

zonedstorage.io