[dm-devel] Receiving device failure/removal notification within a dm-target

Siddharth Choudhuri sid.kernel at gmail.com
Thu Jan 26 17:30:08 UTC 2012


Hi,

I want to write a clean up function in a device mapper target if the
underlying block device fails or if it is removed. This is similar to, for
example, having a register_reboot_notifier() inside a dm target so that the
target can take appropriate action on a system reboot.

What would be the best way to handle this ? Should I look at the multi path
code for any hints ? Appreciate any pointers to this.

Thanks,
-Sid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120126/9d24f7da/attachment.htm>


More information about the dm-devel mailing list