qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v11 02/10] block/raw: add persistent reservation in/out drive


From: Keith Busch
Subject: Re: [PATCH v11 02/10] block/raw: add persistent reservation in/out driver
Date: Mon, 9 Sep 2024 14:18:45 -0600

On Mon, Sep 09, 2024 at 07:34:45PM +0800, Changqi Lu wrote:
> +static int coroutine_fn GRAPH_RDLOCK
> +raw_co_pr_register(BlockDriverState *bs, uint64_t old_key,
> +                   uint64_t new_key, BlockPrType type,
> +                   bool ptpl, bool ignore_key)
> +{
> +    return bdrv_co_pr_register(bs->file->bs, old_key, new_key,
> +                               type, ptpl, ignore_key);
> +}

The nvme parts look fine, but could you help me understand how this all
works? I was looking for something utilizing ioctl's, like
IOC_PR_REGISTER for this one, chained through the file-posix block
driver. Is this only supposed to work with iscsi?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]