Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drbd: Enable QUEUE_FLAG_DISCARD only if the peer can recieve P_TRIM | Lars Ellenberg | 2014-04-30 | 1 | -0/+2 |
| | | | | | | | | Allow the user of REQ_DISCARD. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com> | ||||
* | drbd: prepare receiving side for REQ_DISCARD | Lars Ellenberg | 2014-04-30 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | If the receiver needs to serve a discard request on a queue that does not announce to be discard cabable, it falls back to do synchronous blkdev_issue_zeroout(). We expect only "reasonably" large (up to one activity log extent?) discard requests. We do this to not to not block the receiver for too long in this fallback code path, and to not set/clear too many bits inside one spinlock_irq_save() in drbd_set_in_sync/drbd_set_out_of_sync, Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com> | ||||
* | drbd: Split off on-the-wire protocol definitions | Andreas Gruenbacher | 2014-02-17 | 1 | -0/+295 |
Keep the protocol definitions separate from the kernel code; they are useful in their own right. Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> |