Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Lars Ellenberg <Lars.Ellenberg@linbit.com>
To: Milind Dumbare <milind.dumbare@gmail.com>
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] Bug?
Date: Tue, 25 Jul 2006 03:57:03 +0200	[thread overview]
Message-ID: <20060725015703.GG4596@soda.linbit> (raw)
In-Reply-To: <44C4E271.3080607@gmail.com>

/ 2006-07-24 20:38:33 +0530
\ Milind Dumbare:
> Hi,
> First of all to tell I am working on x86_64 machine.
> 
> The structure ioctl_get_config has size 576(bytes) and its padded with
> int (4byte) so it makes 580 (bytes). And compiler will align it to 584
> (bytes), as 580 is not completely divisible by 8 while 584 is.
>
> So don't you think drbd_sizeof_sanity_check.c:21 should be
> 
>        SZO(struct ioctl_get_config,    576)
> rather than
>        SZO(struct ioctl_get_config,    580)

when filing bugs, please state against which version you complain.
(in this case, I guess 8-pre something tarball).
when it is not the latest version, check whether it has already been
fixed, as I think for this issue recent versions (svn) are fixed, and
we now have compile time asserts instead of runtime asserts in place.

yes, we probably should upload some new 8pre-something tarballs.

thanks,

-- 
: 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-25  1:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 15:08 [Drbd-dev] Bug? Milind Dumbare
2006-07-25  1:57 ` Lars Ellenberg [this message]
2006-07-25  9:11   ` Milind Dumbare
2006-07-25 21:49     ` Lars Ellenberg

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=20060725015703.GG4596@soda.linbit \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=milind.dumbare@gmail.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