]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The error classification from lower layers is a poor indicator of
authorWarner Losh <imp@FreeBSD.org>
Sat, 31 Oct 2015 04:53:07 +0000 (04:53 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 31 Oct 2015 04:53:07 +0000 (04:53 +0000)
commita1f26210f355eb26f59e445ca4043c9413231cbb
tree1b0e063f383e57b7758e29d13d4895240b933d8b
parent3deca56f3f3ec38ffa843605bd0c9bd2299b1511
The error classification from lower layers is a poor indicator of
whether an error is recoverable. Always re-dirty the buffer on errors
from write requests. The invalidation we used to do for errors not EIO
doesn't need to be done for a device that's really gone, since that's
done in a different path.

Reviewed by: mckusick@, kib@
sys/kern/vfs_bio.c