-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to update to support kernel 4.1x? #5
Comments
@CharmingYang0 I haven't tried to use this tool for several years or on any recent kernel, but what I would do if I were trying to use it is to research when this function was removed from the kernel, using strategies like https://stackoverflow.com/questions/12591247/find-when-line-was-deleted on the linux kernel git repo, then look at the commits which replaced it and try to understand how the function was replaced in other uses. |
@dwalkes |
@dwalkes STEPS
RESULTS Now that the read error was injected, it's suposed to return some error like 'I/O error' for the head command.
|
@CharmingYang0 my first guess is that something is happening in filesystem caching which means the head command is still succeeding. Do you get the expected content from I'd suggest start by verifying you can see the error using ddpt with Assuming this works, you could experiment with unmounting the filesystem between the error injection and the read step to force filesystem cache flush. There are probably other ways to accomplish this through open synchronized I/O as well. |
I prepared a latest version Centos (version: 8.2, kernel: 4.18.0-193.19.1.el8_2.x86_64) VMware VM to experience this tool.
function scsi_next_command had been removed from SCSI driver,
so now I want to know which function should be probed to substitute it?
The text was updated successfully, but these errors were encountered: