mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
73bea923f3
By closing the file descriptor before calling io_destroy, you pretty much guarantee that the last put on the ioctx will be done in interrupt context (during I/O completion). This behavior has unearthed bugs in the kernel in several different kernel versions, so let's add a test to poke at it. The original test case was provided by Matt Cross. He has graciously relicensed it under the GPL v2 or later so that it can be included in xfstests. I've modified the test a bit so that it would generate a stable output format and to run for a fixed amount of time. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
12 lines
288 B
Plaintext
12 lines
288 B
Plaintext
QA output created by 323
|
|
wrote 10485760/10485760 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wait_for_events: 0
|
|
num_threads: 100
|
|
filename: 'aio-testfile'
|
|
All threads spawned
|
|
wait_for_events: 1
|
|
num_threads: 100
|
|
filename: 'aio-testfile'
|
|
All threads spawned
|