All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1 RFC] read_policy type heuristic
@ 2022-07-21 11:52 Anand Jain
  2022-07-21 11:52 ` [PATCH 1/1 RFC] btrfs: add read_policy heuristic Anand Jain
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2022-07-21 11:52 UTC (permalink / raw)
  To: linux-btrfs

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(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-21 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 11:52 [PATCH 0/1 RFC] read_policy type heuristic Anand Jain
2022-07-21 11:52 ` [PATCH 1/1 RFC] btrfs: add read_policy heuristic Anand Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.