linux-xiaomi-chiron/include/linux/ceph
Ilya Dryomov 6f428df47d libceph: pg_upmap[_items] infrastructure
pg_temp and pg_upmap encodings are the same (PG -> array of osds),
except for the incremental remove: it's an empty mapping in new_pg_temp
for pg_temp and a separate old_pg_upmap set for pg_upmap.  (This isn't
to allow for empty pg_upmap mappings -- apparently, pg_temp just wasn't
looked at as an example for pg_upmap encoding.)

Reuse __decode_pg_temp() for decoding pg_upmap and new_pg_upmap.
__decode_pg_temp() stores into pg_temp union member, but since pg_upmap
union member is identical, reading through pg_upmap later is OK.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-07-07 17:25:18 +02:00
..
auth.h libceph: drop len argument of *verify_authorizer_reply() 2016-12-12 23:09:21 +01:00
buffer.h libceph: nuke ceph_kvfree() 2014-12-17 20:09:50 +03:00
ceph_debug.h libceph: use kbasename() and kill ceph_file_part() 2017-05-23 20:32:10 +02:00
ceph_features.h libceph: support SERVER_JEWEL feature bits 2017-07-07 17:25:15 +02:00
ceph_frag.h ceph: make logical calculation functions return bool 2016-05-26 01:15:39 +02:00
ceph_fs.h libceph: respect RADOS_BACKOFF backoffs 2017-07-07 17:25:17 +02:00
ceph_hash.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
cls_lock_client.h rbd: support updating the lock cookie without releasing the lock 2017-05-04 09:19:23 +02:00
debugfs.h libceph: simplify our debugfs attr macro 2015-04-20 18:55:39 +03:00
decode.h libceph: ceph_decode_skip_* helpers 2017-07-07 17:25:18 +02:00
libceph.h libceph: make DEFINE_RB_* helpers more general 2017-07-07 17:25:17 +02:00
mdsmap.h ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds 2017-05-04 09:19:20 +02:00
messenger.h libceph: ceph_connection_operations::reencode_message() method 2017-07-07 17:25:15 +02:00
mon_client.h libceph: support for blacklisting clients 2016-08-24 23:49:15 +02:00
msgpool.h libceph: fix some missing includes 2016-07-28 02:55:35 +02:00
msgr.h libceph: use keepalive2 to verify the mon session is alive 2015-09-08 23:14:30 +03:00
osd_client.h libceph: respect RADOS_BACKOFF backoffs 2017-07-07 17:25:17 +02:00
osdmap.h libceph: pg_upmap[_items] infrastructure 2017-07-07 17:25:18 +02:00
pagelist.h libceph: convert ceph_pagelist.refcnt from atomic_t to refcount_t 2017-05-04 09:19:19 +02:00
rados.h libceph: respect RADOS_BACKOFF backoffs 2017-07-07 17:25:17 +02:00
string_table.h libceph: introduce reference counted string 2016-07-28 02:55:37 +02:00
types.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00