WSL2-Linux-Kernel/include/linux/ceph
Ilya Dryomov bb229bbb3b libceph: wait for latest osdmap in ceph_monc_blacklist_add()
Because map updates are distributed lazily, an OSD may not know about
the new blacklist for quite some time after "osd blacklist add" command
is completed.  This makes it possible for a blacklisted but still alive
client to overwrite a post-blacklist update, resulting in data
corruption.

Waiting for latest osdmap in ceph_monc_blacklist_add() and thus using
the post-blacklist epoch for all post-blacklist requests ensures that
all such requests "wait" for the blacklist to come into force on their
respective OSDs.

Cc: stable@vger.kernel.org
Fixes: 6305a3b415 ("libceph: support for blacklisting clients")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-20 16:27:40 +01:00
..
auth.h
buffer.h
ceph_debug.h
ceph_features.h
ceph_frag.h
ceph_fs.h
ceph_hash.h
cls_lock_client.h
debugfs.h
decode.h
libceph.h
mdsmap.h
messenger.h
mon_client.h
msgpool.h
msgr.h
osd_client.h
osdmap.h
pagelist.h
rados.h
string_table.h
striper.h
types.h