* Receiving device failure/removal notification within a dm-target
@ 2012-01-26 17:30 Siddharth Choudhuri
0 siblings, 0 replies; only message in thread
From: Siddharth Choudhuri @ 2012-01-26 17:30 UTC (permalink / raw)
To: dm-devel
[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 557 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-26 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-26 17:30 Receiving device failure/removal notification within a dm-target Siddharth Choudhuri
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.