]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: expose generic disk name on pr_* msgs
authorMatias Bjørling <mb@lightnvm.io>
Fri, 13 Jul 2018 08:48:42 +0000 (10:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Jul 2018 14:14:43 +0000 (08:14 -0600)
commit166e1d8a40aa819cdea75102548e21f6ba8b191e
treea73da1351db3dee14fc043e8f4425203704084d2
parent83b79d3e8633d5a8b596a67126d45b0c3c09d7c5
lightnvm: pblk: expose generic disk name on pr_* msgs

The error messages in pblk does not say which pblk instance that
a message occurred from. Update each error message to reflect the
instance it belongs to, and also prefix it with pblk, so we know
the message comes from the pblk module.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-gc.c
drivers/lightnvm/pblk-init.c
drivers/lightnvm/pblk-rb.c
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk-sysfs.c
drivers/lightnvm/pblk-write.c
drivers/lightnvm/pblk.h