]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/cache/pwl/ssd: ensure first_{valid,free}_entry aren't bogus
authorIlya Dryomov <idryomov@gmail.com>
Fri, 21 May 2021 13:27:31 +0000 (15:27 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 29 May 2021 16:44:20 +0000 (18:44 +0200)
commitb46f81fbb22e67548e9825756da625d8e9017d10
tree1bf252fb35bdbd566b57abe2961a53b312fd83b0
parentd83a0f6db8ff26eeb2c817b1bd192fb357f715df
librbd/cache/pwl/ssd: ensure first_{valid,free}_entry aren't bogus

Ensure first_{valid,free}_entry are inside the expected range when
scheduling root updates and decoding the root on recovery.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/cache/pwl/ssd/WriteLog.cc