projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334b4fc
)
dm zoned: add debugging message for reading superblocks
author
Hannes Reinecke
<hare@suse.de>
Tue, 2 Jun 2020 11:09:42 +0000
(13:09 +0200)
committer
Mike Snitzer
<snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:43 +0000
(14:59 -0400)
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-metadata.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-zoned-metadata.c
b/drivers/md/dm-zoned-metadata.c
index 4a2e351365c5a23f600f88c2c46fa3be50c80f4c..ef1524d5928a66024fdf52e12dea29a51775fa5d 100644
(file)
--- a/
drivers/md/dm-zoned-metadata.c
+++ b/
drivers/md/dm-zoned-metadata.c
@@
-1105,6
+1105,10
@@
static int dmz_check_sb(struct dmz_metadata *zmd, unsigned int set)
*/
static int dmz_read_sb(struct dmz_metadata *zmd, unsigned int set)
{
+ dmz_zmd_debug(zmd, "read superblock set %d dev %s block %llu",
+ set, zmd->sb[set].dev->name,
+ zmd->sb[set].block);
+
return dmz_rdwr_block(zmd->sb[set].dev, REQ_OP_READ,
zmd->sb[set].block, zmd->sb[set].mblk->page);
}