Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lars Ellenberg <Lars.Ellenberg@linbit.com>
To: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] Large data requests
Date: Tue, 18 Jul 2006 16:33:25 +0200	[thread overview]
Message-ID: <20060718143325.GF3989@soda.linbit> (raw)
In-Reply-To: <342BAC0A5467384983B586A6B0B376710333A9A3@EXNA.corp.stratus.com>

/ 2006-07-18 09:59:21 -0400
\ Graham, Simon:
> This seems too easy to be a bug, but I've been getting occasional errors
> with DRBD-8 (latest trunk as of yesterday) like this:
> 
> 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
> 
> The line in question being:
> 
> 	ERR_IF(data_size >  PAGE_SIZE) return FALSE;
> 
> 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 side does not have good
> data) so it would be perfectly OK to receive a DataReply > 4KB in size -
> is this just a left over assert that needs to be removed? Or did I miss
> something?

thanks.
committed as:
-       ERR_IF(data_size >  PAGE_SIZE) return FALSE;
+       ERR_IF(data_size >  DRBD_MAX_SEGMENT_SIZE) return FALSE;


-- 
: Lars Ellenberg                                  Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :

      reply	other threads:[~2006-07-18 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18 13:59 [Drbd-dev] Large data requests Graham, Simon
2006-07-18 14:33 ` Lars Ellenberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060718143325.GF3989@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox