1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-16 04:23:50 +03:00

device: Tag I/O for each mda on a device separately in log messages.

Mark the first metadata area on each text format PV as MDA_PRIMARY.
Pass this information down to the device layer so that when
there are two metadata areas on a block device, we can easily
distinguish two independent streams of I/O.
This commit is contained in:
Alasdair G Kergon
2017-12-07 03:34:59 +00:00
parent 54154dc6f1
commit d591d04103
10 changed files with 77 additions and 55 deletions

View File

@@ -61,6 +61,8 @@ static const char *_reasons[] = {
"PV labels",
"VG metadata header",
"VG metadata content",
"extra VG metadata header",
"extra VG metadata content",
"LVM1 metadata",
"pool metadata",
"LV content",