This patch enables WriteBooster to improve write performance. It
reserves SLC space from normal (TLC) storage to handle incoming
writes, reducing latency and handling bursty writes.
The buffer can be dedicated to a single LU or shared across
multiple LUs, depending on configuration. Data staged in SLC is
later flushed back to TLC automatically or on demand, without
changing data placement.
The following table shows WriteBooster performance as tested on a
Galaxy Book S + UFS 4.0(HS-GEAR 4) device.
---------------------------------------------------------------- | Workload | BS | QD | WriteBooster | Bandwidth | ---------------------------------------------------------------- | Sequential Write | 1MB | 32 | On | 1568 MiB/s | | Sequential Write | 1MB | 32 | Off | 556 MiB/s | ----------------------------------------------------------------
Also, this function adds a power mode change quirk to the Intel
Lakefield UFS controller.
Sponsored by: Samsung Electronics