41285fad51
The [get/put]_blk API enables targets to get ownership of blocks at runtime. This information is currently not recorded on disk, and the information is therefore lost on power failure. To restore the metadata, the [get/put]_blk must persist its metadata. In that case, we need to control the outer lock, so that we can disable them while updating the on-disk metadata. Fortunately, the _unlocked versions can be removed, which allows us to move the lock into the [get/put]_blk functions. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
gennvm.c | ||
gennvm.h | ||
rrpc.c | ||
rrpc.h | ||
sysblk.c |