[Devel] [PATCH hci-8.1 v4 07/11] dm-ploop: take bat_lock around md page lookup in ploop_llseek_hole()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Oct 12 16:36:46 MSK 2026


> ploop_llseek_hole() walks the md pages tree without any lock, while
> resize inserts new md pages into it in ploop_add_md_pages(). A lookup
> racing with rb-tree rebalancing may follow a stale pointer or miss the
> page and return -EINVAL.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-148171
> Feature: dm-ploop: ploop target driver
> 
> Signed-off-by: Alexander Ivanov <alexander.ivanov at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261012132646.41494-1-alexander.ivanov@virtuozzo.com?part=7




More information about the Devel mailing list