linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux
Date: Sat, 4 Feb 2006 18:37:45 +0100	[thread overview]
Message-ID: <20060204173744.GB31715@percy.comedia.it> (raw)
In-Reply-To: <17377.38441.974634.267086@cse.unsw.edu.au>

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
>
>
>I am pleased to announce the availability of
>   mdadm version 2.3
>
and i am pleased to reply with the first patch for mdadm 2.3,
which will allow building on 64bit machines.

Regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

[-- Attachment #2: mdadm-2.3-x86_64.patch --]
[-- Type: text/plain, Size: 1246 bytes --]

--- mdadm-2.3/super1.c.x86_64	2006-01-31 02:45:32.000000000 +0100
+++ mdadm-2.3/super1.c	2006-02-04 18:25:48.000000000 +0100
@@ -198,7 +198,7 @@
 		       (long)__le32_to_cpu(sb->bitmap_offset));
 	}
 	if (sb->feature_map & __le32_to_cpu(MD_FEATURE_RESHAPE_ACTIVE)) {
-		printf("  Reshape pos'n : %llu%s\n", __le64_to_cpu(sb->reshape_position)/2,
+		printf("  Reshape pos'n : %llu%s\n", (unsigned long long) __le64_to_cpu(sb->reshape_position)/2,
 		       human_size(__le64_to_cpu(sb->reshape_position)<<9));
 		if (__le32_to_cpu(sb->delta_disks)) {
 			printf("  Delta Devices : %d", __le32_to_cpu(sb->delta_disks));
--- mdadm-2.3/super0.c.x86_64	2006-01-27 08:06:09.000000000 +0100
+++ mdadm-2.3/super0.c	2006-02-04 18:25:55.000000000 +0100
@@ -124,7 +124,7 @@
 	printf("Preferred Minor : %d\n", sb->md_minor);
 	printf("\n");
 	if (sb->minor_version > 90 && (sb->reshape_position+1) != 0) {
-		printf("  Reshape pos'n : %llu%s\n", sb->reshape_position/2, human_size((long long)sb->reshape_position<<9));
+		printf("  Reshape pos'n : %llu%s\n", (unsigned long long) sb->reshape_position/2, human_size((long long)sb->reshape_position<<9));
 		if (sb->delta_disks) {
 			printf("  Delta Devices : %d", sb->delta_disks);
 			if (sb->delta_disks)

  reply	other threads:[~2006-02-04 17:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02  5:18 ANNOUNCE: mdadm 2.3 - A tool for managing Soft RAID under Linux Neil Brown
2006-02-04 17:37 ` Luca Berra [this message]
2006-02-04 19:54   ` Luca Berra
2006-02-05 21:50     ` Neil Brown

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=20060204173744.GB31715@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).