libceph: get rid of ack vs commit
authorIlya Dryomov <idryomov@gmail.com>
Sat, 11 Feb 2017 17:46:08 +0000 (18:46 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 24 Feb 2017 18:04:57 +0000 (19:04 +0100)
commitb18b9550e4059ceea0393c518eb323b95243f92f
tree4401ab6439dea8ced7d5c49039c3aa981034d444
parent55f2a04588c5881d90e22631b17a84cd25d17cc4
libceph: get rid of ack vs commit

- CEPH_OSD_FLAG_ACK shouldn't be set anymore, so assert on it
- remove support for handling ack replies (OSDs will send ack replies
  only if clients request them)
- drop the "do lingering callbacks under osd->lock" logic from
  handle_reply() -- lreq->lock is sufficient in all three cases

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c