On Mon, May 13, 2024 at 10:56:00AM +0300, Viacheslav Dubeyko wrote: > > > > On May 10, 2024, at 4:40 PM, Kanchan Joshi <joshi.k@xxxxxxxxxxx> wrote: > > > > Flexible Data Placement (FDP), as ratified in TP 4146a, allows the host > > to control the placement of logical blocks so as to reduce the SSD WAF. > > > > Userspace can send the data lifetime information using the write hints. > > The SCSI driver (sd) can already pass this information to the SCSI > > devices. This patch does the same for NVMe. > > > > Fetches the placement-identifiers (plids) if the device supports FDP. > > And map the incoming write-hints to plids. > > > > > Great! Thanks for sharing the patch. > > Do we have documentation that explains how, for example, kernel-space > file system can work with block layer to employ FDP? > > Do we have FDP support in QEMU already if there is no access to real > device for testing? I believe FDP has been in qemu for some time. Look for 73064edfb8 ("hw/nvme: flexible data placement emulation [Jesper Devantier]") best -- Joel Granados
Attachment:
signature.asc
Description: PGP signature