We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to implement a block device that fails on some write operations, and userspace does not seem to care much. I don't know why.
At most I get a message in the kernel log saying:
[ 8557.506812] Buffer I/O error on device nbd0, logical block 83210 [ 8557.507071] block nbd0: Other side returned error (-5) [ 8557.507074] blk_update_request: I/O error, dev nbd0, sector 167938
So, I run something like this: mkfs.ext4 /dev/nbd0
mkfs.ext4 /dev/nbd0
And mkfs.ext4 isn't notified of any error.
I'm returning "htonl(-EIO)" from the write callback.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to implement a block device that fails on some write operations, and userspace does not seem to care much. I don't know why.
At most I get a message in the kernel log saying:
So, I run something like this:
mkfs.ext4 /dev/nbd0
And mkfs.ext4 isn't notified of any error.
I'm returning "htonl(-EIO)" from the write callback.
The text was updated successfully, but these errors were encountered: