Skip to content

RFC read_policy type heuristic

Anand Jain linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1btrfs: add read_policy heuristicfs/btrfs/sysfs.c fs/btrfs/volumes.c fs/btrfs/volumes.h+55 -10 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/1 RFC] read_policy type heuristic

POC patch proposes a read_policy type Heuristic to solve the problem of poor read performance for the mirrored stripes on mixed device types. Read_policy Heuristic has benefits of both pid and has no dependency on block layer iostats. Instead, it uses statically defined device_type and its latency.

This patch is a POC patch that has no performance analysis yet. I am sending this to get some early feedback.

For the read_policy type Latency, please refer here [1]. The read_policy type Latency works better overall, and it is self-tuning based on the IO.

[1]
https://lore.kernel.org/linux-btrfs/20210120123437.OVx7ybGaVfmOdZxtpp43qcB_ORHQQs5OzPSzr3ZUGbo@z/T/#u

Anand Jain (1):
btrfs: add read_policy heuristic

 fs/btrfs/sysfs.c   |  2 +-
 fs/btrfs/volumes.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/volumes.h |  2 ++
 3 files changed, 55 insertions(+), 1 deletion(-)
Signature · 1 line
2.33.1