]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/block/drbd/drbd_int.h
drbd: Track the numbers of sectors in flight
[mirror_ubuntu-artful-kernel.git] / drivers / block / drbd / drbd_int.h
index bcba2742cfba3785d994abd1ead7dbe9b8d55378..c804e44b9455bf908c0900404d3e362f3af6b4f0 100644 (file)
@@ -1102,6 +1102,7 @@ struct drbd_conf {
        struct fifo_buffer rs_plan_s; /* correction values of resync planer */
        int rs_in_flight; /* resync sectors in flight (to proxy, in proxy and from proxy) */
        int rs_planed;    /* resync sectors already planed */
+       atomic_t ap_in_flight; /* App sectors in flight (waiting for ack) */
 };
 
 static inline struct drbd_conf *minor_to_mdev(unsigned int minor)