Details
-
Technical task
-
Resolution: Duplicate
-
Blocker
-
Lustre 2.5.0
-
Patches submitted to autotest
-
9548
Description
from https://maloo.whamcloud.com/test_sets/0afc2c56-fc86-11e2-8ce2-52540035b04c
This sanity-hsm test 21 seems to be hitting a lot right now
Wrong block number is one of the errors seen.
test_21 Error: 'wrong block number' Failure Rate: 33.00% of last 100 executions [all branches]
== sanity-hsm test 21: Simple release tests == 23:18:20 (1375510700) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.353933 s, 5.9 MB/s sanity-hsm test_21: @@@@@@ FAIL: wrong block number Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:4202:error_noexit()
Attachments
Issue Links
- is related to
-
LU-3704 sanity-hsm test_21 - test_24 Error: 'could not release file'
-
- Resolved
-
I didn't see this comment before I inspected the patch. However, this implies a different bug in ZFS. Namely, the "small_file" helper in sanity-hsm is creating files with conv=fsync, so the fsync on close should flush all the blocks from the client cache and onto disk on the OST. After that point the blocks count for the file should not change. Likewise, if the locks are cancelled at the client, it should flush all the dirty blocks from cache to disk on the OST.
This makes me wonder if ZFS is implementing fsync properly at the server.