lkml.org 
[lkml]   [2018]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[GIT PULL 23/25] lightnvm: pblk: print instance name on instance info
    Date
    From: Javier González <javier@cnexlabs.com>

    Add the instance name to the information printed out on target creation.

    Signed-off-by: Javier González <javier@cnexlabs.com>
    Signed-off-by: Matias Bjørling <m@bjorling.me>
    ---
    drivers/lightnvm/pblk-init.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/lightnvm/pblk-init.c b/drivers/lightnvm/pblk-init.c
    index 8c40bc3..93d671c 100644
    --- a/drivers/lightnvm/pblk-init.c
    +++ b/drivers/lightnvm/pblk-init.c
    @@ -1069,7 +1069,8 @@ static void *pblk_init(struct nvm_tgt_dev *dev, struct gendisk *tdisk,
    blk_queue_max_discard_sectors(tqueue, UINT_MAX >> 9);
    queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, tqueue);

    - pr_info("pblk init: luns:%u, lines:%d, secs:%llu, buf entries:%u\n",
    + pr_info("pblk(%s): luns:%u, lines:%d, secs:%llu, buf entries:%u\n",
    + tdisk->disk_name,
    geo->all_luns, pblk->l_mg.nr_lines,
    (unsigned long long)pblk->rl.nr_secs,
    pblk->rwb.nr_entries);
    --
    2.9.3
    \
     
     \ /
      Last update: 2018-01-05 14:18    [W:4.206 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site