-
- Downloads
ocfs2: Depend on configfs heartbeat items.
ocfs2 mounts require a heartbeat region. Use the new configfs_depend_item() facility to actually depend on them so they can't go away from under us. First, teach cluster/nodemanager.c to depend an item on the o2cb subsystem. Then teach o2hb_register_callbacks to take a UUID and depend on the appropriate region. Finally, teach all users of o2hb to pass a UUID or NULL if they don't require a pin. Signed-off-by:Joel Becker <joel.becker@oracle.com> Signed-off-by:
Mark Fasheh <mark.fasheh@oracle.com>
Showing
- fs/ocfs2/cluster/heartbeat.c 62 additions, 2 deletionsfs/ocfs2/cluster/heartbeat.c
- fs/ocfs2/cluster/heartbeat.h 4 additions, 2 deletionsfs/ocfs2/cluster/heartbeat.h
- fs/ocfs2/cluster/nodemanager.c 10 additions, 0 deletionsfs/ocfs2/cluster/nodemanager.c
- fs/ocfs2/cluster/nodemanager.h 3 additions, 0 deletionsfs/ocfs2/cluster/nodemanager.h
- fs/ocfs2/cluster/tcp.c 4 additions, 4 deletionsfs/ocfs2/cluster/tcp.c
- fs/ocfs2/dlm/dlmdomain.c 4 additions, 4 deletionsfs/ocfs2/dlm/dlmdomain.c
- fs/ocfs2/heartbeat.c 5 additions, 5 deletionsfs/ocfs2/heartbeat.c
Loading
Please register or sign in to comment