Skip to content

fs: add partial file read support

Scott Branden linux-arm-msm linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fs: introduce kernel_pread_file* supportfs/exec.c include/linux/fs.h+75 -170 replies
2/3firmware: add offset to request_firmware_into_bufdrivers/base/firmware_loader/firmware.h drivers/base/firmware_loader/main.c include/linux/firmware.h+45 -1710 replies
3/3soc: qcom: mdt_loader: add offset to request_firmware_into_bufdrivers/soc/qcom/mdt_loader.c+5 -26 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] fs: add partial file read support

This patch series adds partial file read support to the kernel via kernel_pread_file functions. request_firmware_into_buf function enhanced to allow partial file read support and single qcom driver using existing function updated.
Change to core kernel file support allows new drivers to read partial file to memory as necessary in memory constrained systems.

Scott Branden (3):
fs: introduce kernel_pread_file* support
firmware: add offset to request_firmware_into_buf
soc: qcom: mdt_loader: add offset to request_firmware_into_buf

 drivers/base/firmware_loader/firmware.h |  5 ++
 drivers/base/firmware_loader/main.c     | 49 +++++++++++-----
 drivers/soc/qcom/mdt_loader.c           |  7 ++-
 fs/exec.c                               | 77 +++++++++++++++++++------
 include/linux/firmware.h                |  8 ++-
 include/linux/fs.h                      | 15 +++++
 6 files changed, 125 insertions(+), 36 deletions(-)
Signature · 1 line
2.17.1