git: cluster - xdisk automatic BIO restart
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Dec 4 19:27:51 PST 2012
commit 5a78b06a5d4598d555a136c3ca9e9e124e46ef94
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Dec 4 19:24:54 2012 -0800
cluster - xdisk automatic BIO restart
* The xdisk driver now detects failed transactions due to failed circuits
and will restart the BIOs on another circuit or hold onto them until
connectivity is restored and a new circuit is reforged.
Automatic restarts only occur if the xa* disk is open()'d (i.e. mounted
or being accessed by userland). Kernel disk subsystem probes on attach
will be failed normally and not stall on lost connectivity.
* subr_diskiocom now reports the correct DMSG error code for failed BIOs
instead of reporting a kernel error code.
Summary of changes:
sys/dev/disk/xdisk/xdisk.c | 72 +++++++++++++++++++++++++++++++-------------
sys/kern/subr_diskiocom.c | 9 +++++-
sys/sys/dmsg.h | 1 +
3 files changed, 60 insertions(+), 22 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a78b06a5d4598d555a136c3ca9e9e124e46ef94
--
DragonFly BSD source repository
More information about the Commits
mailing list