Skip to content

new struct io_work and use it in f2fs fsverity work

Yi Sun linux-f2fs-devel lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2workqueue: new struct io_workinclude/linux/workqueue.h kernel/workqueue.c+97 -05 replies
2/2f2fs: set io priority for fsverity workfs/f2fs/data.c fs/f2fs/f2fs.h fs/f2fs/verity.c+16 -70 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] new struct io_work and use it in f2fs fsverity work

Many works will go to submit_bio(). In many cases, the default io priority of kworker cannot meet the real-time requirements of the work. Such as f2fs_verify_bio work.

If a high-task-priority process reads the verity-file, it is possible that the high-task-priority process will be slowly because the kworker's io priority is too low.

A new work struct containing io priority can solve this problem.

Yi Sun (2):
workqueue: new struct io_work
f2fs: set io priority for fsverity work

 fs/f2fs/data.c            | 17 +++++++------
 fs/f2fs/f2fs.h            |  1 +
 fs/f2fs/verity.c          |  5 ++++
 include/linux/workqueue.h | 47 ++++++++++++++++++++++++++++++++++++
 kernel/workqueue.c        | 50 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 113 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1