Performance penalty avoidance for solid state drive
AssigneeFacebook, Inc.
InventorSong Liu
Life of this patent
Estimating the term…
Abstract
Several embodiments include a host computer coupled to a solid state drive (SSD). The filesystem of the host computer can receive a write pointer from the firmware of the SSD. The write pointer can reference a next available page to an erase block in the SSD. In response to a file write request to store a target file, the filesystem can determine a logical address range to store at least a portion of the target file based on the file write request and the write pointer. The filesystem can then generate a sector write command to send to the SSD. The sector write command can specify the determined logical address range.
Claims17
A computer-implemented method, comprising:
- receiving, by a filesystem of a host computer coupled to a solid state drive, a write pointer corresponding to a next available page of an erase block in the solid state drive;
- receiving, at the filesystem, a file write request to store a target file;
- determining a logical address range to store at least a portion of the target file based on the file write request and the write pointer;
- and
- generating a sector write command to send to the solid state drive, the sector write command specifying the determined logical address range.
A non-transitory computer-readable data storage medium storing computer-executable instructions that, when executed, cause a host computer system coupled to a solid state drive to perform a computer-implemented method, the computer-executable instructions comprising:
- instructions for receiving, by a filesystem of the host computer system, a write pointer from firmware of the solid state drive, wherein the write pointer references a next available page to an erase block in the solid state drive;
- instructions for receiving, at the filesystem, a file write request to store a target file from an application;
- instructions for determining a logical address range to store at least a portion of the target file based on the file write request and the write pointer;
- and
- instructions for generating a sector write command to send to the solid state drive, the sector write command specifying the determined logical address range.
Dependencies are inferred from the claim text.