Skip to content

xfs buf I/O error race test

Brian Foster fstests linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Changes in v1 from the cover letter

- Use the log recovery delay mechanism to coordinate I/O failures with log recovery.
rfc: http://oss.sgi.com/archives/xfs/2014-08/msg00261.html

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfstests/common: don't assume sysfs attrs all reside under test devcommon/rc tests/xfs/011+2 -30 replies
2/2xfs/051: test buffer use after free race on I/O failure in XFS log recoverytests/xfs/051 tests/xfs/051.out tests/xfs/group+98 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] xfs buf I/O error race test

Hi all,

Here's a complete test for the XFS buf I/O error race problem reported by Alex. An incomplete rfc of this test was previously posted here:

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

This version utilizes the recently posted log recovery delay mechanism. As such, this test only runs on kernels compiled with XFS debug support. The first patch updates the generic require sysfs helper to support global (i.e., non-device specific) sysfs attributes.

Brian

v1:
- Use the log recovery delay mechanism to coordinate I/O failures with log recovery.
rfc: http://oss.sgi.com/archives/xfs/2014-08/msg00261.html

Brian Foster (2):
xfstests/common: don't assume sysfs attrs all reside under test dev xfs/051: test buffer use after free race on I/O failure in XFS log
recovery

 common/rc         |  3 +-
 tests/xfs/011     |  2 +-
 tests/xfs/051     | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/051.out |  2 ++
 tests/xfs/group   |  1 +
 5 files changed, 100 insertions(+), 3 deletions(-)
 create mode 100755 tests/xfs/051
 create mode 100644 tests/xfs/051.out
Signature · 1 line
1.8.3.1