From: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>
Subject: [Devel] [PATCH VZ10 v2 0/7] dm-qcow: lseek improvements
Date: Wed, 19 Aug 2026 03:07:38 +0300 [thread overview]
Message-ID: <20260819000745.28823-1-andrey.zhadchenko@virtuozzo.com> (raw)
This patchset is mostly about improving dm-qcow2 lseek speed. L2 md
pages can now be scanned in batch with simple for() instead of heavy
parse_metadata(). Seek qios for backing images are now called with
a range bigger than 1 cluster if possible.
Also fix a few clamping bugs and use correct comparison for seek
modes.
v2:
- patch #4 "fix seek skip to the next L2 table"
- changed l2 calculation to a simplier round_up
- allow l2 skip if the backing data does not exist (e.g. lower is
shorter)
- patch #6 "seek unallocated L2 entries in one pass within md"
- add forgotten to_sector() when skipping unallocated entries
- NEW patch #7 adressing patch #5 edge case when we do to_sector(end),
where 'end' may be not sector aligned, thus causing endless loop.
Andrey Zhadchenko (7):
drivers/md/dm-qcow2: fix lower delta seek window clamp
drivers/md/dm-qcow2: keep seek parse window within limit
drivers/md/dm-qcow2: fix seek constant comparison
drivers/md/dm-qcow2: fix seek skip to the next L2 table
drivers/md/dm-qcow2: scan lower delta in one pass over empty L1 entry
drivers/md/dm-qcow2: seek unallocated L2 entries in one pass within md
drivers/md/dm-qcow2: forbid unaligned virtual size for images
drivers/md/dm-qcow2-map.c | 117 ++++++++++++++++++++++++-----------
drivers/md/dm-qcow2-target.c | 1 +
2 files changed, 82 insertions(+), 36 deletions(-)
--
2.43.5
next reply other threads:[~2026-08-19 0:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 0:07 Andrey Zhadchenko [this message]
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 1/7] drivers/md/dm-qcow2: fix lower delta seek window clamp Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 2/7] drivers/md/dm-qcow2: keep seek parse window within limit Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 3/7] drivers/md/dm-qcow2: fix seek constant comparison Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 4/7] drivers/md/dm-qcow2: fix seek skip to the next L2 table Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 5/7] drivers/md/dm-qcow2: scan lower delta in one pass over empty L1 entry Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 6/7] drivers/md/dm-qcow2: seek unallocated L2 entries in one pass within md Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 0:07 ` [Devel] [PATCH VZ10 v2 7/7] drivers/md/dm-qcow2: forbid unaligned virtual size for images Andrey Zhadchenko
2026-08-25 10:41 ` [Devel] [PATCH RHEL10 COMMIT] dm-qcow2: " Konstantin Khorenko
2026-08-19 8:54 ` [Devel] [PATCH VZ10 v2 0/7] dm-qcow: lseek improvements Vasileios Almpanis
2026-08-24 14:38 ` Pavel Tikhomirov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260819000745.28823-1-andrey.zhadchenko@virtuozzo.com \
--to=andrey.zhadchenko@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox