Skip to content

Implement File-Based optimization functionality

Jiaming Li linux-scsi lkml llvm oe-kbuild-all 1 version NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/4scsi:ufs:remove sanity checkdrivers/ufs/core/ufshcd.c+0 -81 reply
2/4scsi:ufs:add File-Based Optimization descriptorDocumentation/ABI/testing/sysfs-driver-ufs drivers/ufs/core/ufs-sysfs.c include/ufs/ufs.h+104 -01 reply
3/4scsi:ufs:add FBO moduledrivers/ufs/core/Kconfig drivers/ufs/core/Makefile drivers/ufs/core/ufsfbo.c +4 more+164 -01 reply
4/4scsi:ufs:add fbo functionalityDocumentation/ABI/testing/sysfs-driver-ufs drivers/ufs/core/ufsfbo.c drivers/ufs/core/ufshcd.c+466 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchAvri Altman
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RESEND PATCH 0/4] Implement File-Based optimization functionality

From: lijiaming3 <[email protected]>

Stoage devices have a long lifespan. Device performance over its lifespan is not constant and may deteriorate over time. To remedy this, JEDEC came up with the UFS File-Based-Optimization (FBO) extension (JC-64.1-22-67). The FBO feature improves this performance regression via physical defragmentation of the LBA ranges that are associated with specific files.

This feature expects the following host-device dialog:
1) The host let the device know of lba range(s) of interest. Those ranges are typically associated with a specific file. One can obtain it from the iNode of the file and some offset calculations.
2) The host ask the device for the current physical fragmentation level of this file.
3) Should it requires, the host instruct the device to perform defragmentation.
4) Upon successful termination of the defragmentation phase, the host may ask for the new fragmentation level of the file.

lijiaming3 (4):
scsi:ufs:remove sanity check
scsi:ufs:add File-Based Optimization descriptor
scsi:ufs:add FBO module
scsi:ufs:add fbo functionality

 Documentation/ABI/testing/sysfs-driver-ufs | 129 +++++
 drivers/ufs/core/Kconfig                   |  12 +
 drivers/ufs/core/Makefile                  |   1 +
 drivers/ufs/core/ufs-sysfs.c               |  26 ++
 drivers/ufs/core/ufsfbo.c                  | 519 +++++++++++++++++++++
 drivers/ufs/core/ufsfbo.h                  |  23 +
 drivers/ufs/core/ufshcd.c                  |  15 +-
 include/ufs/ufs.h                          |  16 +
 include/ufs/ufshcd.h                       |   1 +
 9 files changed, 734 insertions(+), 8 deletions(-)
 create mode 100644 drivers/ufs/core/ufsfbo.c
 create mode 100644 drivers/ufs/core/ufsfbo.h
Signature · 1 line
2.38.1