-
Notifications
You must be signed in to change notification settings - Fork 230
kernel-patches: introduce kernel patch for fscache ondemand IO path o… #717
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
…ptimize Signed-off-by: Xin Yin <[email protected]>
@kevinXYin , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/20656 |
@kevinXYin , The CI test is completed, please check result:
Congratulations, your test job passed! |
Yeah, that is a practical way for downstream users. |
+ break; | ||
+ | ||
+ if (!PageUptodate(page)) { | ||
+ error = -EFAULT; |
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.
-EIO ?
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.
This will not cause EIO , if we can not find all data in pagecache , will fallback to dio for the rest iter
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.
okay, anyway, the error code is somewhat confusing to me... ;)
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.
yeah , this is a bit confusing since we don't return result codes here , how about just set this like err = -1 ?
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.
let's leave as it for now...
+ break; | ||
+ | ||
+ if (!PageUptodate(page)) { | ||
+ error = -EFAULT; |
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.
okay, anyway, the error code is somewhat confusing to me... ;)
This is kernel patch for #714
before we figure out a formal solution for upstream, we should fix this performance issue , that may affect the user experience first.