Skip to contentSkip to conversation

MSG_NEW_PACKET flag?

Drbd-dev Lars Marowsky-Bree 2 participants 2 messages Oct 18, 2012 DRBD driver

lore
Share & tools
lore
#0 lore raw

https://lkml.org/lkml/2012/6/29/204

Could/would drbd benefit from this?

Regards,
Lars

Signature · 3 lines
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
maintainer
#1 lore raw
Quoted 3 lines · Lars Marowsky-Bree

https://lkml.org/lkml/2012/6/29/204

Could/would drbd benefit from this?

Sure.
As Andreas writes in that thread,

The primary use case is fast Gigabit (10 or more) Ethernet connections with jumbo frames and switches that support them. There, frames will go through unchanged and you can zero-copy receive all the time.

If the data is misaligned in the socket buffers,
we cannot effectively do zero copy receive.

Signature · 5 lines
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.