d84a88c1a0
This adds new internal APIs bdev_lock_lba_range and bdev_unlock_lba_range. To start, these APIs will manage dissemination of lock/unlock requests to all existing channels for a given bdev. This does not yet interact at all with any I/O sent to the channel. Future patches will check new I/O to see if they are trying to write to a range that is locked. Future patches will also ensure we do not have overlapping ranges active at once. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I6d5b1cc84b41a7adc2a3c5791c766bb77376581f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478225 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
bdev_ocssd.c | ||
bdev_raid.c | ||
bdev_zone.c | ||
bdev.c | ||
compress.c | ||
crypto.c | ||
gpt | ||
mt | ||
part.c | ||
pmem | ||
scsi_nvme.c | ||
vbdev_lvol.c | ||
vbdev_zone_block.c | ||
Makefile |