cluster - xdisk automatic BIO restart
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Dec 2012 03:24:54 +0000 (19:24 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 5 Dec 2012 03:24:54 +0000 (19:24 -0800)
commit5a78b06a5d4598d555a136c3ca9e9e124e46ef94
treeef5d9ec2ee8c66842bdc45f258f86ae19934a55e
parent747e3bc99793f8c0bb8e60697be0e9c412955083
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.
sys/dev/disk/xdisk/xdisk.c
sys/kern/subr_diskiocom.c
sys/sys/dmsg.h