Whamcloud - gitweb
LU-13980 osd-ldiskfs: print label instead of device 38/40738/4
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 24 Nov 2020 07:35:17 +0000 (00:35 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 07:27:50 +0000 (07:27 +0000)
commit8f793f14bf9928352623e61122f005252605b136
tree5af4991bc25dd7da630b6d64cfe4cf99db9fb1cb
parent490bb7a658d6d7a3608633b7416a6cf09e0d225b
LU-13980 osd-ldiskfs: print label instead of device

Print out the volume label (e.g. fsname-OST0000) in error messages
instead of the device name (e.g. dm-2) so that it is easier to
correlate this with other messages in the log.

Fix error strings to be on one line to match code style.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iff31bc962ca32b1f3a13f579700d03835a3ebbe5
Reviewed-on: https://review.whamcloud.com/40738
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_iam.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c
lustre/osd-ldiskfs/osd_scrub.c