[libvirt] [PATCH v2 1/7] virlockspace: Allow caller to specify start and length offset in virLockSpaceAcquireResource

John Ferlan jferlan at redhat.com
Thu Aug 16 22:18:42 UTC 2018



On 08/14/2018 07:19 AM, Michal Privoznik wrote:
> So far the virLockSpaceAcquireResource() locks the first byte in
> the underlying file. But caller might want to lock other range.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/locking/lock_daemon_dispatch.c |  3 +++
>  src/util/virlockspace.c            | 15 ++++++++++-----
>  src/util/virlockspace.h            |  4 ++++
>  tests/virlockspacetest.c           | 29 ++++++++++++++++++++++++-----
>  4 files changed, 41 insertions(+), 10 deletions(-)
> 


Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list