Commit b3902693 authored by Marc Vef's avatar Marc Vef
Browse files

Migrated to margo-hg-shim

parent 4f5bf187
Loading
Loading
Loading
Loading
+32 −32
Original line number Diff line number Diff line
@@ -85,10 +85,10 @@ struct fs_config {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 3033006080;
    constexpr static const uint64_t public_id = 1;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::fs_config;
@@ -259,10 +259,10 @@ struct create {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 796590080;
    constexpr static const uint64_t public_id = 2;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::create;
@@ -375,10 +375,10 @@ struct stat {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 1396244480;
    constexpr static const uint64_t public_id = 3;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::stat;
@@ -494,10 +494,10 @@ struct remove_metadata {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 2087845888;
    constexpr static const uint64_t public_id = 4;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::remove_metadata;
@@ -618,10 +618,10 @@ struct decr_size {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 1291649024;
    constexpr static const uint64_t public_id = 5;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::decr_size;
@@ -734,10 +734,10 @@ struct update_metadentry {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 99483648;
    constexpr static const uint64_t public_id = 6;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::update_metadentry;
@@ -960,10 +960,10 @@ struct get_metadentry_size {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 3426484224;
    constexpr static const uint64_t public_id = 7;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::get_metadentry_size;
@@ -1076,10 +1076,10 @@ struct update_metadentry_size {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 2760900608;
    constexpr static const uint64_t public_id = 8;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::update_metadentry_size;
@@ -1216,10 +1216,10 @@ struct mk_symlink {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 3207004160;
    constexpr static const uint64_t public_id = 9;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::mk_symlink;
@@ -1334,10 +1334,10 @@ struct remove_data {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 2649292800;
    constexpr static const uint64_t public_id = 10;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::remove_data;
@@ -1442,10 +1442,10 @@ struct write_data {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 3716481024;
    constexpr static const uint64_t public_id = 11;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::write;
@@ -1627,10 +1627,10 @@ struct read_data {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 892207104;
    constexpr static const uint64_t public_id = 12;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::read;
@@ -1812,10 +1812,10 @@ struct trunc_data {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 1850933248;
    constexpr static const uint64_t public_id = 13;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::truncate;
@@ -1931,10 +1931,10 @@ struct get_dirents {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 4121034752;
    constexpr static const uint64_t public_id = 14;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::get_dirents;
@@ -2055,10 +2055,10 @@ struct get_dirents_extended {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 1463943168;
    constexpr static const uint64_t public_id = 15;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::get_dirents_extended;
@@ -2181,10 +2181,10 @@ struct chunk_stat {
    // RPC public identifier
    // (N.B: we reuse the same IDs assigned by Margo so that the daemon
    // understands Hermes RPCs)
    constexpr static const uint64_t public_id = 532742144;
    constexpr static const uint64_t public_id = 16;

    // RPC internal Mercury identifier
    constexpr static const hg_id_t mercury_id = public_id;
    constexpr static const hg_id_t mercury_id = 0;

    // RPC name
    constexpr static const auto name = gkfs::rpc::tag::get_chunk_stat;