-
Notifications
You must be signed in to change notification settings - Fork 1.4k
test: Disable O_DIRECT in cache fuzzer #12154
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
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D68562695 |
✅ Deploy Preview for meta-velox canceled.
|
kagamiori
left a comment
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 |
xiaoxmeng
left a comment
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. Reviewed By: xiaoxmeng, kagamiori, yuandagits Differential Revision: D68562695
b5ceef7 to
9a3af71
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
9a3af71 to
0f0a737
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68562695 |
1 similar comment
|
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
Summary: Pull Request resolved: facebookincubator#12154 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
17308e9 to
5095b2b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D68562695 |
|
This pull request has been merged in 9999ae0. |
|
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
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