[dm-devel] PATCH 0/4] multipath-tools: Ceph rbd support v2

Christophe Varoqui christophe.varoqui at opensvc.com
Tue Aug 9 15:36:15 UTC 2016


Merged.

I think it is worth advertizing here that the build now requires rados.h.

Thanks.

On Mon, Aug 8, 2016 at 2:01 PM, Mike Christie <mchristi at redhat.com> wrote:

> The following patches made over Christophe's tree today,
> add Ceph rbd support for handling blacklisted devices.
>
>
> This is not general support for rbd and multipath. There is
> no boot/root support and it does not support features like
> multibus. My use is for HA configurations, specifically for exporting
> rbd images through multiple LIO instances. In this case, we have one
> rbd instance that has the ceph rbd exclusive lock and it can send
> WRITE requests. If that host becomes unreachable, then another host
> will grab the lock, and blacklist the original host to prevent it from
> sending stale IO (when blacklisted IO will be failed by the OSD).
>
> To recover from that type of scenario, this patchset adds a repair()
> callout to the checker. If the path is in the PATH_DOWN state this
> callout can be used to fix it up. For my case, I am remapping
> the device to flush stale IO and cleanup the old lock,
> and then unblacklisting the path, so it can be used again.
>
> Changes since v1:
> - Drop ID_UID use and implemented sysfs getuid support.
> - Drop settings that were defaults and follow template.
> - Fix ceph auth/user.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160809/79527c84/attachment.htm>


More information about the dm-devel mailing list