Patent ID: 11875062
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A storage system, comprising:
a flash file system configured to:
receive a write command targeting a first file in a flash memory;
in response to receiving the write command:
generate a reference hash corresponding to the first file; and
provide the reference hash to a flash manager causing the reference hash to be stored in one or more physical blocks in the flash memory;

receive a read command targeting the first file in the flash memory; and
in response to receiving the read command:
generate a first logical block address corresponding to the first file;
provide a request for the first logical block address to the flash manager;
receive a response for the read command from the flash manager, wherein the response includes one or more hashes; and
in accordance with a determination that the one or more hashes do not map to the first file corresponding to the reference hash, perform a file recovery operation for a second file corresponding to the one or more hashes.