diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-06-07 08:44:51 +0200 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 16:59:06 +0100 |
commit | 293467aa1f161cd50920ccf7fc1efa3946a4d50c (patch) | |
tree | 661c54b1c0e45b1f8bdd56c86a9564887c9ec069 /drivers/md/md-cluster.h | |
parent | Communication Framework: Sending functions (diff) | |
download | linux-293467aa1f161cd50920ccf7fc1efa3946a4d50c.tar.xz linux-293467aa1f161cd50920ccf7fc1efa3946a4d50c.zip |
metadata_update sends message to other nodes
- request to send a message
- make changes to superblock
- send messages telling everyone that the superblock has changed
- other nodes all read the superblock
- other nodes all ack the messages
- updating node release the "I'm sending a message" resource.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md-cluster.h')
-rw-r--r-- | drivers/md/md-cluster.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/md-cluster.h b/drivers/md/md-cluster.h index 51a24df15b64..658982afcf9b 100644 --- a/drivers/md/md-cluster.h +++ b/drivers/md/md-cluster.h @@ -12,6 +12,9 @@ struct md_cluster_operations { int (*leave)(struct mddev *mddev); int (*slot_number)(struct mddev *mddev); void (*resync_info_update)(struct mddev *mddev, sector_t lo, sector_t hi); + int (*metadata_update_start)(struct mddev *mddev); + int (*metadata_update_finish)(struct mddev *mddev); + int (*metadata_update_cancel)(struct mddev *mddev); }; #endif /* _MD_CLUSTER_H */ |