Re: [PATCH] rbd: reacquire lock should update lock owner client id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 13, 2017 at 4:43 PM, Florian Margaine <florian@xxxxxxxxxxx> wrote:
> Otherwise, future operations on this RBD using exclusive-lock are
> going to require the lock from a non-existent client id.
>
> This ports commit 475dda114a7e25b43dc9066b9808a64fc0c6dc89 from librbd
> to krbd.
>
> Signed-off-by: Florian Margaine <florian@xxxxxxxxxxx>
> ---
>  drivers/block/rbd.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
> index adc877dfef5c..4e2acf9c81af 100644
> --- a/drivers/block/rbd.c
> +++ b/drivers/block/rbd.c
> @@ -3884,6 +3884,7 @@ static void rbd_reacquire_lock(struct rbd_device *rbd_dev)
>                                            &rbd_dev->lock_dwork, 0);
>         } else {
>                 strcpy(rbd_dev->lock_cookie, cookie);
> +               queue_work(rbd_dev->task_wq, &rbd_dev->acquired_lock_work);
>         }
>  }

Hi Florian,

Just wanted to let you know that this patch has been merged into 4.15,
with a minor modification:

    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=edd8ca8015800b354453b891d38960f3a474b7e4

Thanks,

                Ilya
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux