mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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> |
||
---|---|---|
.. | ||
core.c | ||
gennvm.c | ||
gennvm.h | ||
Kconfig | ||
Makefile | ||
rrpc.c | ||
rrpc.h | ||
sysblk.c |