• I
    libceph: introduce ceph_osdc_cancel_request() · c9f9b93d
    Ilya Dryomov 提交于
    Introduce ceph_osdc_cancel_request() intended for canceling requests
    from the higher layers (rbd and cephfs).  Because higher layers are in
    charge and are supposed to know what and when they are canceling, the
    request is not completed, only unref'ed and removed from the libceph
    data structures.
    
    __cancel_request() is no longer called before __unregister_request(),
    because __unregister_request() unconditionally revokes r_request and
    there is no point in trying to do it twice.
    Signed-off-by: NIlya Dryomov <ilya.dryomov@inktank.com>
    Reviewed-by: NAlex Elder <elder@linaro.org>
    c9f9b93d
osd_client.c 76.9 KB