-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "io_uring: Support Compare command for verification"
This reverts commit 6170d92. This feature does not work. The NVMe compare command directs the device to compare the contents of a data buffer with the contents of the media. In verify mode fio prepares read requests and does not fill the data buffer with any specific contents. Using this feature results in compare errors. root@localhost:~/fio-dev/fio-canonical# ./fio --name=test --rw=write --verify=crc32c --ioengine=io_uring_cmd --filename=/dev/ng0n1 --verify_mode=compare test: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=io_uring_cmd, iodepth=1 fio-3.38-30-g46559 Starting 1 process fio: io_u error on file /dev/ng0n1: Device-specific error: read offset=0, buflen=4096 fio: io_uring_cmd: /dev/ng0n1: cq entry status (sct=0x02; sc=0x85) fio: pid=711175, err=17029/file:io_u.c:1976, func=io_u error, error=Unknown error 17029 test: (groupid=0, jobs=1): err=17029 (file:io_u.c:1976, func=io_u error, error=Unknown error 17029): pid=711175: Tue Jan 28 14:46:45 2025 Status code descriptions: 0x02: Media and data integrity, 0x85: Compare Failure: See the NVM Command Set Specification for the description Signed-off-by: Vincent Fu <[email protected]>
- Loading branch information
1 parent
46559ad
commit 047bc9f
Showing
6 changed files
with
4 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters