summaryrefslogtreecommitdiffstats
path: root/net/ceph/osdmap.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-05-27 15:18:34 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-05-30 23:00:23 +0200
commitdc045a9168c83b2dc590930a0565e066346de382 (patch)
treef2a0d74e082a7a359b470a40fe068dece067e42f /net/ceph/osdmap.c
parentb7ec35b304b64af2830027350cc99d31e6e537c2 (diff)
downloadlinux-stable-dc045a9168c83b2dc590930a0565e066346de382.tar.gz
linux-stable-dc045a9168c83b2dc590930a0565e066346de382.tar.bz2
linux-stable-dc045a9168c83b2dc590930a0565e066346de382.zip
libceph: put request only if it's done in handle_reply()
handle_reply() may be called twice on the same request: on ack and then on commit. This occurs on btrfs-formatted OSDs or if cephfs sync write path is triggered - CEPH_OSD_FLAG_ACK | CEPH_OSD_FLAG_ONDISK. handle_reply() handles this with the help of done_request(). Fixes: 5aea3dcd5021 ("libceph: a major OSD client update") Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions