From: Neil Brown <neilb@cse.unsw.edu.au>
To: "Mr. James W. Laferriere" <babydr@baby-dragons.com>
Cc: linux-raid maillist <linux-raid@vger.kernel.org>
Subject: Re: mdadm Some Makefile changes , Hth , JimL
Date: Mon, 8 Apr 2002 13:22:50 +1000 (EST) [thread overview]
Message-ID: <15537.3338.998757.24915@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Mr. James W. Laferriere on Friday April 5
On Friday April 5, babydr@baby-dragons.com wrote:
>
> Hello Neil , Something funny in the --Detail output from a raid5
> array I maintain , see below . Tia , JimL
>
> mdadm-0.8.1# mdadm -v -D /dev/md0
> /dev/md0:
> Version : 00.90.00
> Creation Time : Sat Apr 14 06:16:46 2001
> Raid Level : raid5
> Array Size : 892800 (871.87 MiB 914.22 MB)
> ^^^^^^
Thanks:
I had
larray_size = array_size << 9;
when array_size was a "long" and larray_size was "long long"
so some high bits got lost.
It is now
larray_size = array_size;
larray_size <<= 9;
which should work correctly.
NeilBrown
prev parent reply other threads:[~2002-04-08 3:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <15534.8419.129112.229266@notabene.cse.unsw.edu.au>
[not found] ` <Pine.LNX.4.44.0204051751270.25112-100000@filesrv1.baby-dragons.com>
2002-04-07 13:26 ` mdadm Some Makefile changes , Hth , JimL Jakob Østergaard
2002-04-07 23:53 ` Neil Brown
2002-04-08 3:22 ` Neil Brown [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=15537.3338.998757.24915@notabene.cse.unsw.edu.au \
--to=neilb@cse.unsw.edu.au \
--cc=babydr@baby-dragons.com \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).