Ilya Dryomov fe5da05e97 libceph: redo callbacks and factor out MOSDOpReply decoding
If you specify ACK | ONDISK and set ->r_unsafe_callback, both
->r_callback and ->r_unsafe_callback(true) are called on ack.  This is
very confusing.  Redo this so that only one of them is called:

    ->r_unsafe_callback(true), on ack
    ->r_unsafe_callback(false), on commit

or

    ->r_callback, on ack|commit

Decode everything in decode_MOSDOpReply() to reduce clutter.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-26 00:36:28 +02:00
..
2016-03-25 18:51:55 +01:00
2016-05-26 00:36:25 +02:00
2012-05-16 14:28:27 -05:00
2013-12-31 20:32:01 +02:00
2013-12-31 20:32:01 +02:00
2016-05-26 00:36:23 +02:00
2016-03-25 18:51:52 +01:00
2015-04-22 18:33:41 +03:00
2016-03-25 18:51:55 +01:00