[PATCH blktests 0/2] blktests: Add ublk testcases

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

 



Hi,

ublk can passthrough I/O requests to userspce daemons. It is very important
to test ublk crash handling since the userspace part is not reliable.
Especially we should test removing device, killing ublk daemons and user
recovery feature.

The first patch add user recovery support in miniublk.

The second patch add five new tests for ublk to cover above cases.

Ziyang Zhang (2):
  src/miniublk: add user recovery
  tests: Add ublk tests

 src/miniublk.c     | 207 +++++++++++++++++++++++++++++++++++++++++++--
 tests/ublk/001     |  39 +++++++++
 tests/ublk/001.out |   2 +
 tests/ublk/002     |  53 ++++++++++++
 tests/ublk/002.out |   2 +
 tests/ublk/003     |  43 ++++++++++
 tests/ublk/003.out |   2 +
 tests/ublk/004     |  63 ++++++++++++++
 tests/ublk/004.out |   2 +
 tests/ublk/005     |  66 +++++++++++++++
 tests/ublk/005.out |   2 +
 11 files changed, 472 insertions(+), 9 deletions(-)
 create mode 100644 tests/ublk/001
 create mode 100644 tests/ublk/001.out
 create mode 100644 tests/ublk/002
 create mode 100644 tests/ublk/002.out
 create mode 100644 tests/ublk/003
 create mode 100644 tests/ublk/003.out
 create mode 100644 tests/ublk/004
 create mode 100644 tests/ublk/004.out
 create mode 100644 tests/ublk/005
 create mode 100644 tests/ublk/005.out

-- 
2.31.1




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux