Disk storage apparatus and method for shingled magnetic recording
AssigneeKabushiki Kaisha Toshiba
InventorsTatsuya Haga, Hideaki Tanaka
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a disk storage apparatus includes a storage device, a writing controller, and a controller. The storage device includes a nonvolatile cache area in which a part of consecutive data is temporarily stored. The writing controller is configured to write the consecutive data in a recording area on a disk by an SMR method, the recording area being different from the cache area. The controller is configured to write the part of the data to the cache area, to invalidate data corresponding to logical addresses of the part of the data and recorded in the recording area on the disk, and to set a recording area with the invalidated data recorded therein to be an update recording area in which new data is recordable.
Claims12
A disk storage apparatus comprising:
- storage devices having a nonvolatile cache area in which a part of consecutive data is temporarily stored and a recording area including recording units each comprising a predetermined number of tracks on a disk, the recording unit including user data writing areas to which logical block addresses are assigned and a spare writing area to which no logical block address is assigned;
- a writing part configured to write data in the recording area;
- and
- a controller configured to control the writing of the consecutive data in accordance with a write command including a write request and the logical block address, wherein the controller is configured to:
- write the consecutive data in the spare writing area by shingled magnetic recording (SMR), instead of the user data writing area which is specified by the logical block address and change the spare writing area to a new user data writing area to which the logical block addresses are assigned, if the write request is the sequential write request and the spare writing area is available,
- write the consecutive data in the cache area, instead of the user data writing area which is specified by the logical block address, if the write request is the sequential write request and the spare writing area is not available, and
- invalidate data in the user data writing area which is specified by the logical block address, after writing the consecutive data in one of the spare writing area and the cache area.
A method of data writing which is applied to a disk storage apparatus comprising storage devices having a nonvolatile cache area in which a part of consecutive data is temporarily stored and a recording area including recording units each comprising a predetermined number of tracks on the disk, the recording unit including user data writing areas to which logical block addresses are assigned and a spare writing area to which no logical block address is assigned, and a writing part configured to write data in the recording area, the method comprising:
- controlling the writing of the consecutive data in accordance with a write command including a write request and the logical block address, wherein the controlling the writing includes:
- writing the consecutive data in the spare writing area by shingled magnetic recording (SMR), instead of the user data writing area which is specified by the logical block address and changing the spare writing area to a new user data writing area to which the logical block addresses are assigned, if the write request is the sequential write request and the spare writing area is available;
- writing the consecutive data in the cache area, instead of the user data writing area which is specified by the logical block address, if the write request is the sequential write request and the spare writing area is not available;
- and
- invalidating data in the user data writing area which is specified by the logical block address after writing the consecutive data in one of the spare writing area and the cache area.
A disk storage apparatus comprising:
- storage devices having a nonvolatile cache area in which a part of consecutive data is temporarily stored and a recording area including recording units each comprising a predetermined number of tracks on the disk, the recording unit including user data writing areas to which logical block addresses are assigned and one or both of a spare writing area and an invalid user data writing areas to which no logical block address are assigned;
- a writing part configured to write data in the recording area;
- and
- a controller configured to control the writing of the consecutive data in accordance with a write command including a write request and the logical block address, wherein the controller controller is configured to:
- write the consecutive data in one of the spare writing area and the invalid user data writing areas by shingled magnetic recording (SMR), instead of the user data writing area which is specified by the logical block address and change the one of the spare writing area and the invalid user data writing areas to a new user data writing area to which the logical block addresses are assigned, if the write request is the sequential write request and the one of the spare writing area and the invalid user data writing areas is available,
- write the consecutive data in the cache area, instead of the user data writing area which is specified by the logical block address, if the write request is the sequential write request and the both of the spare writing area and the invalid user data writing areas is not available, and
- invalidate data in the user data writing area which is specified by the logical block address after writing the consecutive data in the one of the spare writing area and the invalid user data writing areas or the cache area.
Dependencies are inferred from the claim text.