<div dir="ltr">Merged.<div><br></div><div>I think it is worth advertizing here that the build now requires rados.h.</div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 8, 2016 at 2:01 PM, Mike Christie <span dir="ltr"><<a href="mailto:mchristi@redhat.com" target="_blank">mchristi@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following patches made over Christophe's tree today,<br>
add Ceph rbd support for handling blacklisted devices.<br>
<br>
<br>
This is not general support for rbd and multipath. There is<br>
no boot/root support and it does not support features like<br>
multibus. My use is for HA configurations, specifically for exporting<br>
rbd images through multiple LIO instances. In this case, we have one<br>
rbd instance that has the ceph rbd exclusive lock and it can send<br>
WRITE requests. If that host becomes unreachable, then another host<br>
will grab the lock, and blacklist the original host to prevent it from<br>
sending stale IO (when blacklisted IO will be failed by the OSD).<br>
<br>
To recover from that type of scenario, this patchset adds a repair()<br>
callout to the checker. If the path is in the PATH_DOWN state this<br>
callout can be used to fix it up. For my case, I am remapping<br>
the device to flush stale IO and cleanup the old lock,<br>
and then unblacklisting the path, so it can be used again.<br>
<br>
Changes since v1:<br>
- Drop ID_UID use and implemented sysfs getuid support.<br>
- Drop settings that were defaults and follow template.<br>
- Fix ceph auth/user.<br>
<br>
</blockquote></div><br></div>