DragonFly commits List (threaded) for 2012-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: cluster - xdisk automatic BIO restart
commit 5a78b06a5d4598d555a136c3ca9e9e124e46ef94
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]