kernel_optimize_test/drivers/block/drbd
Lars Ellenberg 5dbf167338 drbd: need to set socket bufsize early to take effect
quoting tcp(7):
    On individual connections, the socket buffer size must be set prior to the
    listen(2) or connect(2) calls in order to have it take effect.

This adds a wrapper to do so, and uses it appropriately.
Improves performance in certain situations.

Note that because we cannot easily determine which socket will be
"meta" and wich "data" (bulk) socket, we adjust both sockets.
Previously, DRBD only adjusted the bufsizes of the "data" socket.

Thanks again to Eduard.Guzovsky@stratus.com.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-06-01 11:12:27 +02:00
..
drbd_actlog.c drbd: lc_element_by_index() never returns NULL 2010-04-02 08:40:33 +02:00
drbd_bitmap.c drbd: Fixed bitmap in case of online-grow without resync 2010-05-18 01:20:33 +02:00
drbd_int.h drbd: improve network latency, TCP_QUICKACK 2010-06-01 11:12:27 +02:00
drbd_main.c drbd: Revert "drbd: Create new current UUID as late as possible" 2010-06-01 11:12:26 +02:00
drbd_nl.c drivers/block/drbd: Use kzalloc 2010-05-18 02:04:10 +02:00
drbd_proc.c drbd: Fixes to the new delay_probes code 2010-05-18 01:28:08 +02:00
drbd_receiver.c drbd: need to set socket bufsize early to take effect 2010-06-01 11:12:27 +02:00
drbd_req.c drbd: If we detect late that IO got frozen, retry after we thawed. 2010-05-18 02:03:32 +02:00
drbd_req.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
drbd_strings.c drbd: don't start a resync without access to up-to-date Data 2010-05-18 01:08:18 +02:00
drbd_vli.h The DRBD driver 2009-10-01 21:17:49 +02:00
drbd_worker.c Merge branch 'master' into for-2.6.35 2010-05-21 21:27:26 +02:00
drbd_wrappers.h drbd: Allow drbd_epoch_entries to use multiple bios. 2010-05-18 02:01:23 +02:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00