Message ID | 20200522153901.133375-2-hare@suse.de (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Mike Snitzer |
Headers | show |
Series | dm-zoned: multi-device support | expand |
On 2020/05/23 0:39, Hannes Reinecke wrote: > Signed-off-by: Hannes Reinecke <hare@suse.de> > --- > drivers/md/dm-zoned-metadata.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/md/dm-zoned-metadata.c b/drivers/md/dm-zoned-metadata.c > index 4a2e351365c5..b0d3ed4ac56a 100644 > --- a/drivers/md/dm-zoned-metadata.c > +++ b/drivers/md/dm-zoned-metadata.c > @@ -1105,6 +1105,9 @@ static int dmz_check_sb(struct dmz_metadata *zmd, unsigned int set) > */ > static int dmz_read_sb(struct dmz_metadata *zmd, unsigned int set) > { > + DMDEBUG("(%s): read superblock set %d dev %s block %llu", > + zmd->devname, set, zmd->sb[set].dev->name, > + zmd->sb[set].block); A blank line here would be nice. Cosmetic only, no big deal. > return dmz_rdwr_block(zmd->sb[set].dev, REQ_OP_READ, > zmd->sb[set].block, zmd->sb[set].mblk->page); > } > Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
diff --git a/drivers/md/dm-zoned-metadata.c b/drivers/md/dm-zoned-metadata.c index 4a2e351365c5..b0d3ed4ac56a 100644 --- a/drivers/md/dm-zoned-metadata.c +++ b/drivers/md/dm-zoned-metadata.c @@ -1105,6 +1105,9 @@ static int dmz_check_sb(struct dmz_metadata *zmd, unsigned int set) */ static int dmz_read_sb(struct dmz_metadata *zmd, unsigned int set) { + DMDEBUG("(%s): read superblock set %d dev %s block %llu", + zmd->devname, 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); }
Signed-off-by: Hannes Reinecke <hare@suse.de> --- drivers/md/dm-zoned-metadata.c | 3 +++ 1 file changed, 3 insertions(+)