update for logprint changes

This commit is contained in:
ptools
2003-10-01 01:10:18 +00:00
parent 170d452e56
commit 7935a3733d
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -57,9 +57,11 @@ _filter_logprint()
s/log device: ([\w|\/.-]+) daddr: (\d+) length: (\d+)/log device: LDEV daddr: XXX length: XXX/; s/log device: ([\w|\/.-]+) daddr: (\d+) length: (\d+)/log device: LDEV daddr: XXX length: XXX/;
s/log file: "([\w|\/.-]+)" daddr: (\d+) length: (\d+)/log device: LDEV daddr: XXX length: XXX/; s/log file: "([\w|\/.-]+)" daddr: (\d+) length: (\d+)/log device: LDEV daddr: XXX length: XXX/;
s/skipped (\w+) zeroed blocks/skipped XXX zeroed blocks/; s/skipped (\w+) zeroed blocks/skipped XXX zeroed blocks/;
s/in range: \d+ - \d+/in range: XXX - XXX/;
s/^uuid: *[0-9a-f-][0-9a-f-]* *format: *.*$/uuid: <UUID> format: <FORMAT>/; s/^uuid: *[0-9a-f-][0-9a-f-]* *format: *.*$/uuid: <UUID> format: <FORMAT>/;
s/(length of Log Record:) \d+/$1 <LEN>/; s/(length of Log Record:) \d+/$1 <LEN>/;
s/version: \d/version: <VERN>/; s/version: \d/version: <VERN>/;
s/h_size: \d+/h_size: <H_SIZE>/;
print; print;
' '
} }
+2 -1
View File
@@ -14,12 +14,13 @@ xfs_logprint:
cycle: 1 version: <VERN> lsn: 1,0 tail_lsn: 1,0 cycle: 1 version: <VERN> lsn: 1,0 tail_lsn: 1,0
length of Log Record: <LEN> prev offset: -1 num ops: 1 length of Log Record: <LEN> prev offset: -1 num ops: 1
uuid: <UUID> format: <FORMAT> uuid: <UUID> format: <FORMAT>
h_size: <H_SIZE>
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
Oper (0): tid: b0c0d0d0 len: 8 clientid: LOG flags: UNMOUNT Oper (0): tid: b0c0d0d0 len: 8 clientid: LOG flags: UNMOUNT
Unmount filesystem Unmount filesystem
============================================================================ ============================================================================
xfs_logprint: skipped XXX zeroed blocks xfs_logprint: skipped XXX zeroed blocks in range: XXX - XXX
xfs_logprint: physical end of log xfs_logprint: physical end of log
============================================================================ ============================================================================
xfs_logprint: logical end of log xfs_logprint: logical end of log