[PATCH v2 0/3] xfs: miscellaneous log recovery fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Here's v2 of the log recovery fixups for filesystems with undersized
logs and the v4 NULL buffer verifier problem. The most significant
change is that patch 1 is rewritten to take a different approach to
sanity check the log block addresses used during log recovery cycle and
record verification. Specifically, it validates the log block number
used for each buffer on read or write. Also, I've dropped patch 4 for
now since I've not heard anything to suggest it's really necessary. 

Brian

v2:
- Use xlog buffer validation rather than explicit checks.
- Don't push AIL on log recovery error.
- Drop patch 4 (rfc).
- Fix up commit logs.
v1: https://marc.info/?l=linux-xfs&m=150877001230751&w=2

Brian Foster (3):
  xfs: more robust recovery xlog buffer validation
  xfs: fix log block underflow during recovery cycle verification
  xfs: drain the buffer LRU on mount

 fs/xfs/xfs_log.c         | 16 ++++++++++++++++
 fs/xfs/xfs_log_recover.c | 40 +++++++++++++++++++++++++---------------
 2 files changed, 41 insertions(+), 15 deletions(-)

-- 
2.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux