<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Large data requests</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">This seems t</FONT></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">o</FONT></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">o easy to be a bug, but I</FONT></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">’</FONT></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">ve been getting occasional errors with DRBD-8 (latest trunk as of yesterday) like this:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">Jul 17 16:25:03 jake kernel: drbd2: receive_DataReply: (data_size > PAGE_SIZE) in /sandbox/sgraham/sn/trunk/drbd-8/drbd/drbd_receiver.c:1035</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">The line in question being:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Tahoma">ERR_IF(data_size > PAGE_SIZE) return FALSE;</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">in receive_DataReply. Now, one of the changes in DRBD-8 was to allow requests up to 32K to be passed down and it looks to me like these are just passed on to the remote side (if the local</FONT></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Tahoma">side does not have good data) so it would be perfectly OK to receive a DataReply > 4KB in size</FONT></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Tahoma">–</FONT></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma"> is this just a left over assert that needs to be removed? Or did I miss something?</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Tahoma">/simgr</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>