On 7/27/19 11:04 PM, Minwoo Im wrote: > Hi Chaitanya, > > On 19-07-11 10:53:21, Chaitanya Kulkarni wrote: >> This patch adds a module parameter to configure the REQ_OP_DISCARD >> handling support when null_blk module is not memory-backed. This support >> is useful in the various scenarios such as examining REQ_OP_DISCARD path >> tests, blktrace and discard with priorities. >> >> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> >> --- >> drivers/block/null_blk_main.c | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/drivers/block/null_blk_main.c b/drivers/block/null_blk_main.c >> index 99328ded60d1..20d60b951622 100644 >> --- a/drivers/block/null_blk_main.c >> +++ b/drivers/block/null_blk_main.c >> @@ -3,6 +3,7 @@ >> * Add configfs and memory store: Kyungchan Koh <kkc6196@xxxxxx> and >> * Shaohua Li <shli@xxxxxx> >> */ >> +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > Maybe it casue other pr_ family prints "null_blk" twice, doesn't it? If > so, can we have this change with the other pr_ family updated? > > Thanks! > Okay, I'll add this in next version.