mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
lightnvm: pblk: print instance name on instance info
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
c6847e4e35
commit
30d82a8631
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
blk_queue_max_discard_sectors(tqueue, UINT_MAX >> 9);
|
||||||
queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, tqueue);
|
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,
|
geo->all_luns, pblk->l_mg.nr_lines,
|
||||||
(unsigned long long)pblk->rl.nr_secs,
|
(unsigned long long)pblk->rl.nr_secs,
|
||||||
pblk->rwb.nr_entries);
|
pblk->rwb.nr_entries);
|
||||||
|
|
Loading…
Reference in a new issue