[PATCH 0/5 v2] xfs: clean up xlog_recover_process_data

Dave Chinner david at fromorbit.com
Thu Sep 25 21:19:07 CDT 2014


Hi folks,

This is a new version of the log recovery transaction processing
cleanup I first posted here:

http://oss.sgi.com/archives/xfs/2014-08/msg00367.html

It's largely the same, but there's been a couple of but fixes and
rework done to it.

Version 2
- use sizeof(variable) consistently
- reworked transaction lookup factoring to encapsulate start ophdr
  processing completely.
- re-ordered checks for opheader length validity to so we do all the
  ophdr validity checks before we try to process it.
- added patch to re-integrate simple use-once functions to look up
  and allocate recovery transaction structures.

-Dave.



More information about the xfs mailing list