[Top] [All Lists]

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

To: fstests@xxxxxxxxxxxxxxx
Subject: [PATCH 0/2] xfs buf I/O error race test
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Tue, 2 Sep 2014 10:22:39 -0400
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
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:


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.


- 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

 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


<Prev in Thread] Current Thread [Next in Thread>