Running 'prepare' in fileio test with --file-extra-flags=direct fails

Bug #1043987 reported by Alexey Kopytov on 2012-08-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysbench
Status tracked in Trunk
Trunk
Undecided
Alexey Kopytov

Bug Description

./sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --max-time=18000 --max-requests=0 --num-threads=4 --rand-init=on --file-num=2 --file-fsync-freq=0 --file-block-size=16384 --report-interval=10 --file-extra-flags=direct prepare
sysbench 0.5: multi-threaded system evaluation benchmark

2 files, 524288Kb each, 1024Mb total
Creating files for the test...
Extra file open flags: 3
Creating file test_file.0
FATAL: Failed to write file! errno = 9 (Bad file descriptor)

Alexey Kopytov (akopytov) wrote :

Fixed in trunk.

Pratap (pratap-g) wrote :

sysbench --test=fileio --file-total-size=150G prepare
sysbench 0.4.12: multi-threaded system evaluation benchmark

128 files, 1228800Kb each, 153600Mb total
Creating files for the test...
FATAL: Failed to write file! errno = 28 (0Äôý)

Alexey Kopytov (akopytov) wrote :

errno = 28 is "No space left on device".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers