From: Paul Clements <paul.clements@steeleye.com>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org, ptb@it.uc3m.es, mingo@redhat.com,
"james.bottomley" <james.bottomley@steeleye.com>
Subject: Re: [ANNOUNCE][PATCH 2.6] md: persistent (file-backed) bitmap and async writes
Date: Wed, 23 Jun 2004 17:48:14 -0400 [thread overview]
Message-ID: <40D9FA9E.9010003@steeleye.com> (raw)
In-Reply-To: <16590.38597.170409.499394@cse.unsw.edu.au>
Hi Neil,
Here's the next round of patches:
kernel patch against 2.6.7:
--------------------------
http://www.parisc-linux.org/~jejb/md_bitmap/md_bitmap_2_32_2_6_7.diff
mdadm patch against 1.6.0:
-------------------------
http://www.parisc-linux.org/~jejb/md_bitmap/md_bitmap_2_32_2_6_7.diff
Details below...
Neil Brown wrote:
> On Tuesday June 8, paul.clements@steeleye.com wrote:
> This looks a lot better. There are a few little issues that I noticed
> on a quick read through:
> - last_block_device should return "sector_t", not "unsigned
> long". It would be worth checking for other placed that
> sector_t might be needed.
Fixed.
> - bitmap_checkpage still isn't quite safe. If "hijacked" gets
> set while it is allocating a page (unlikely, but possible), it
> will exit with both highjacked set and an allocated page, which
> isn't right.
Fixed.
> - The event comparison
> + sb->events_hi >= refsb->bitmap_events_hi &&
> + sb->events_lo >= refsb->bitmap_events_lo) {
> in hot_add_disk is wrong.
This is still there, see my explanation in the previous email...
> The changes to mdadm need a bit of work.
>
> You have added "--persistent" and "--non-persistent" flags for
> --create. This is wrong.
> --create always uses persistent superblocks.
> --build makes arrays without persistent superblocks.
OK, changed. The --build command now also accepts the --bitmap option.
> I don't think I like --create-bitmap. A bitmap file should always be
> created in the context of a particular array (partly so that the size
> and uuid can be set correctly). I think I would like to bitmap to be
> specified as a "--bitmap=filename" option to --create, --build, or
> --grow. I haven't thought this through in great detail yet, but that
> is my leaning.
OK, --create-bitmap remains solely for the --build case, but is no
longer needed for --create. The --create command now does all the array
creation in userspace and simply Assembles the resulting collection of
disks. It also initialises the bitmap correctly for use with the array
(i.e., uuid and size match).
> --examine-bitmap is a bit of a pain too. I think I would like
> --examine to figure out what it has been given to look at, and report
> on whatever it finds.
This also remains as-is for now, pending your reply to my previous emails.
Thanks,
Paul
next prev parent reply other threads:[~2004-06-23 21:48 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-29 22:51 [ANNOUNCE][PATCH 2.6] md: persistent (file-backed) bitmap and async writes Paul Clements
2004-01-30 22:52 ` Paul Clements
2004-02-09 2:51 ` Neil Brown
2004-02-09 19:45 ` Paul Clements
2004-02-10 0:04 ` Neil Brown
2004-02-10 16:20 ` Paul Clements
2004-02-10 16:57 ` Paul Clements
2004-02-13 20:58 ` Paul Clements
2004-03-05 5:06 ` Neil Brown
2004-03-05 22:05 ` Paul Clements
2004-03-31 18:38 ` Paul Clements
2004-04-28 18:10 ` Paul Clements
2004-04-28 18:53 ` Peter T. Breuer
2004-04-29 8:41 ` Neil Brown
2004-05-04 20:08 ` Paul Clements
2004-06-08 20:53 ` Paul Clements
2004-06-08 22:47 ` Neil Brown
2004-06-14 23:39 ` Neil Brown
2004-06-14 23:59 ` James Bottomley
2004-06-15 6:27 ` Neil Brown
2004-06-17 17:57 ` Paul Clements
2004-06-18 20:48 ` Paul Clements
2004-06-23 21:48 ` Paul Clements [this message]
2004-06-23 21:50 ` Paul Clements
2004-07-06 14:52 ` Paul Clements
[not found] ` <40F7E50F.2040308@steeleye.com>
[not found] ` <16649.61212.310271.36561@cse.unsw.edu.au>
2004-08-10 21:37 ` Paul Clements
2004-08-13 3:04 ` Neil Brown
2004-09-21 3:28 ` Paul Clements
2004-09-21 19:19 ` Paul Clements
2004-10-12 2:15 ` Neil Brown
2004-10-12 14:06 ` Paul Clements
2004-10-12 21:16 ` Paul Clements
2004-11-10 0:37 ` md: persistent (file-backed) bitmap Neil Brown
2004-11-10 18:28 ` Paul Clements
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=40D9FA9E.9010003@steeleye.com \
--to=paul.clements@steeleye.com \
--cc=james.bottomley@steeleye.com \
--cc=linux-raid@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=neilb@cse.unsw.edu.au \
--cc=ptb@it.uc3m.es \
/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).