created https://github.com/ceph/ceph/pull/973 which uses union. but I still prefer this one because using union makes ceph_mds_caps struct ugly.