+12
−8
Loading
This will be used by the following patch adding bdev quiesce API. It will allow it to be simpler, without having to provide the io channel. The owner channel is only necessary to allow I/Os associated with a lock to execute and quiescing will not allow any I/O. cb_arg is also not required if ch is NULL so move the check from _bdev_lock_lba_range() to bdev_lock_lba_range() where it is necessary. Change-Id: I8ea166ad61324e620abbc37325b691c4370ac9a1 Signed-off-by:Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17889 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com>