# buffered_integrity_test.fio [global] # --- Test Target --- directory=/Volumes/RAID5-0/fio-test filename=fio_test_file.dat # --- I/O Engine Settings --- ioengine=posixaio # # --- CRITICAL CHANGE: Buffered I/O Mode --- # The 'direct=1' line is removed. This tells fio to use # the system's file cache, exactly like the 'cp' command does. # direct=1 # --- Data Integrity Verification --- # We still want to verify the data after the buffered write is complete. do_verify=1 verify=sha256 verify_fatal=1 [buffered-write-verify-test] rw=write bs=1M # --- FIX: Use 'unlink=1' instead of 'cleanup=1' --- # This will delete the test file after the job completes. unlink=1 # The size will be passed from the command line # size=