xfsprogs: log format fixes, db command
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | logprint: use correct ext. header count for unaligned sizelogprint/ | +2 | 0 replies | |
| 2/4 | libxfs: format the log with valid log record headerslibxfs/ | +57 | 0 replies | |
| 3/4 | libxfs: conditionalize log format record size optimizationcopy/ db/ db/ +5 more | +20 | 0 replies | |
| 4/4 | db: add the logformat commanddb/ db/ db/ +1 more | +172 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] xfsprogs: log format fixes, db command
Hi all,
This series includes a few fixes to log formatting/handling code in xfsprogs. Patch 1 fixes a minor issue in xfs_logprint. Patch 2 fixes the incorrect formatting issue with larger lsunit alignments noted in the previously posted torn log write detection series:
http://oss.sgi.com/pipermail/xfs/2015-November/044845.html
Patch 3 is mostly a refactor to allow the log format command to use variable sized records rather than unconditionally use 256kB records. Patch 4 adds the 'logformat' xfs_db command to facilitate testing of the log formatting mechanism.
This has been lightly tested with xfstests, including via a couple forthcoming tests that take advantage of the logformat command. Thoughts, reviews, flames appreciated.
Brian
Brian Foster (4):
logprint: use correct ext. header count for unaligned size
libxfs: format the log with valid log record headers
libxfs: conditionalize log format record size optimization
db: add the logformat command
copy/xfs_copy.c | 2 +- db/Makefile | 4 +- db/command.c | 2 + db/logformat.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++ db/logformat.h | 19 +++++++ db/metadump.c | 2 +- db/sb.c | 2 +- include/libxfs.h | 2 +- libxfs/rdwr.c | 89 ++++++++++++++++++++++++------- logprint/log_misc.c | 2 + mkfs/xfs_mkfs.c | 3 +- repair/phase2.c | 2 +- repair/xfs_repair.c | 2 +- 13 files changed, 251 insertions(+), 29 deletions(-) create mode 100644 db/logformat.c create mode 100644 db/logformat.h
Signature · 6 lines
2.1.0 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs