commit | ba11ad9a3b9dd2dbb9c6686ea9d41a9a77d94327 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Tue May 25 16:26:16 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue Jun 01 11:12:27 2010 +0200 |
tree | d1aa2d5a2673a063e7cc8b9a4bba5305c608f6a1 | |
parent | 5dbf1673383f2f1554f0634fdfc390d59dc2c7d6 [diff] |
drbd: improve usage of MSG_MORE It seems to improve performance if we allow the "p_data" header in its own frame (no MSG_MORE), but sendpage all but the last page with MSG_MORE. This is also in preparation of a later zero copy receive implementation. Suggested by Eduard.Guzovsky@stratus.com on drbd-dev. 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>