On Sun, Aug 13, 2023 at 6:11 PM Sasha Levin <sashal@xxxxxxxxxx> wrote: > > From: Ilya Dryomov <idryomov@xxxxxxxxx> > > [ Upstream commit f38cb9d9c2045dad16eead4a2e1aedfddd94603b ] > > Make the "num_lockers can be only 0 or 1" assumption explicit and > simplify the API by getting rid of output parameters in preparation > for calling get_lock_owner_info() twice before blocklisting. > > Signed-off-by: Ilya Dryomov <idryomov@xxxxxxxxx> > Reviewed-by: Dongsheng Yang <dongsheng.yang@xxxxxxxxxxxx> > Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> Hi Sasha, This is a prerequisite patch, it doesn't make sense to backport it without also backporting "rbd: harden get_lock_owner_info() a bit" and "rbd: retrieve and check lock owner twice before blocklisting". Please drop it. Thanks, Ilya