Lines Matching +full:send +full:- +full:not +full:- +full:empty

1 /* SPDX-License-Identifier: GPL-2.0-only */
7 Copyright (C) 2006-2008, LINBIT Information Technologies GmbH.
8 Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
9 Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>.
24 and by the receiver and worker in kernel-thread context.
37 * send via the network.
47 * either successfully or with io-error.
60 * corresponding dirty bits in the resync-bitmap may be cleared or set,
72 * these are not "events" but "actions"
78 /* An empty flush is queued as P_BARRIER,
82 * Just like "real" requests, empty flushes (blkdev_issue_flush()) will
128 * 1x10: Aborted and completed -> free
137 * 00001: to be send
138 * 00011: to be send, on worker queue
148 * 01100: neg-acked (write, protocol C)
149 * or neg-d-acked (read, any protocol)
153 * 01000: canceled or send failed...
157 /* if "SENT" is not set, yet, this can still fail or be canceled.
175 * however it is not exactly the same. before we drop it
184 /* whether or not we know (C) or pretend (B,A) that the write
205 * or its implicit from-schedule equivalent.
206 * We may use it as hint to send a P_UNPLUG_REMOTE */
213 * but was not, because of drbd_suspended() */
231 #define RQ_LOCAL_MASK ((RQ_LOCAL_ABORTED << 1)-1)
240 #define RQ_NET_MASK (((1UL << __RQ_NET_MAX)-1) & ~RQ_LOCAL_MASK)
261 * bio->bi_iter.bi_size, or similar. But that would be too ugly. */
287 struct drbd_device *device = req->device; in _req_mod()
291 /* __req_mod possibly frees req, do not touch req after that! */ in _req_mod()
300 * We still may or may not be inside some irqs disabled section
308 struct drbd_device *device = req->device; in req_mod()
312 spin_lock_irqsave(&device->resource->req_lock, flags); in req_mod()
314 spin_unlock_irqrestore(&device->resource->req_lock, flags); in req_mod()