FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 01-26-2012, 04:30 PM
Siddharth Choudhuri
 
Default Receiving device failure/removal notification within a dm-target

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




--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 03:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org