lightnvm: warn if irqs are disabled in lock laddr
authorJavier González <jg@lightnvm.io>
Thu, 4 Feb 2016 14:13:24 +0000 (15:13 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 4 Feb 2016 16:19:45 +0000 (09:19 -0700)
commitbba7f40a029c1e2966146e3a021b3deaf5639904
tree2fdfd5e29ad989ddb260c18f9e6d4fbc42100c4d
parent16c6d048d7b74249a4387700887e8adb13028866
lightnvm: warn if irqs are disabled in lock laddr

Add a warning if irqs are disabled when locking a new address in rrpc.
The typical path to a new request does not disable irqs, but this is not
guaranteed in the future.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.h