-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Disable O_DIRECT in cache fuzzer #12154
base: main
Are you sure you want to change the base?
Conversation
This pull request was exported from Phabricator. Differential Revision: D68562695 |
✅ Deploy Preview for meta-velox canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick fix!
// O_DIRECT requires I/O size needs to be the same as a disk file block size | ||
// which is not handled in SSD cache. Misalignment can lead to EINVAL in some | ||
// filesystem and kernel version. | ||
FLAGS_ssd_odirect = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a "// TODO: add this support if needed later."?
e4765b6
to
32a8f5f
Compare
Summary: O_DIRECT requires I/O size needs to be the same as a disk file block size which is not handled in SSD cache. Misalignment can lead to EINVAL in some filesystem and kernel version. Reviewed By: kagamiori, yuandagits Differential Revision: D68562695
This pull request was exported from Phabricator. Differential Revision: D68562695 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zacw7 thanks % minors.
region_.length, | ||
region.offset - region_.offset, | ||
fileIds().string(fileNum_)); | ||
// LOG(ERROR) << "IOERR: Failed SSD loadSync " << entry.toString() << ' ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this?
Summary: O_DIRECT requires I/O size needs to be the same as a disk file block size which is not handled in SSD cache. Misalignment can lead to EINVAL in some filesystem and kernel version. Reviewed By: xiaoxmeng, kagamiori, yuandagits Differential Revision: D68562695
32a8f5f
to
e364076
Compare
This pull request was exported from Phabricator. Differential Revision: D68562695 |
Summary: O_DIRECT requires I/O size needs to be the same as a disk file block size which is not handled in SSD cache. Misalignment can lead to EINVAL in some filesystem and kernel version. Reviewed By: xiaoxmeng, kagamiori, yuandagits Differential Revision: D68562695
e364076
to
b5ceef7
Compare
This pull request was exported from Phabricator. Differential Revision: D68562695 |
Summary:
O_DIRECT requires I/O size needs to be the same as a disk file block size
which is not handled in SSD cache. Misalignment can lead to EINVAL in some
filesystem and kernel version.
Differential Revision: D68562695