主权项 |
1. A method for organizing data at levels of granularity larger or smaller than an extent, the method comprising:
providing a tiered storage system comprising a plurality of tiers, wherein the tiered storage system is configured to move data between the tiers at the granularity of an extent; providing a host system to access data in the tiered storage system; storing a file in an extent of the plurality of extents, the file having a logical address associated therewith, wherein movement of the file within an extent changes the logical address, but movement of an extent between tiers of the tiered storage system does not change the logical address; closing the file on the host system; upon closing the file, generating, by the host system, a message indicating that the file has been closed and identifying an old logical address associated with the file; sending the message to the tiered storage system; verifying, by the tiered storage system, that the file has been closed; in the event the file has been closed, copying the file from the old logical address to a new logical address to improve data placement; and returning, by the tiered storage system, the new logical address to the host system. |