FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-08-2010, 11:44 AM
Neil Brown
 
Default md updates for 2.6.36

Hi Linus,
here is my merge-window pull request for md.
The bulk of this update is changes to allow md/raid5 to be plugged
into dm as a dm target. The changes to dm to make this happen are
with the dm maintainer who has given in-principle agreement - they
just need to be carefully reviewed.

The remainder are some deadlock fixes which are tagged for -stable,
one of which should have been around for quite some time, but have
only manifested recently for some strange reason.

Thanks,
NeilBrown


The following changes since commit 9fe6206f400646a2322096b56c59891d530e8d51:

Linux 2.6.35 (2010-08-01 15:11:14 -0700)

are available in the git repository at:
git://neil.brown.name/md/ for-linus

Dan Williams (1):
md: move revalidate_disk() back outside open_mutex

NeilBrown (21):
md: reduce dependence on sysfs.
md/raid5: factor out code for changing size of stripe cache.
md/raid5: ensure we create a unique name for kmem_cache when mddev has no gendisk
md: be more careful setting MD_CHANGE_CLEAN
md: split out md_rdev_init
md: export various start/stop interfaces
md: add support for raising dm events.
raid5: Don't set read-ahead when there is no queue
md/raid5: export is_congested test
md/raid5: add simple plugging infrastructure.
md/plug: optionally use plugger to unplug an array during resync/recovery.
md/raid5: export raid5 unplugging interface.
md/bitmap: white space clean up and similar.
md/bitmap: reduce dependence on sysfs.
md/bitmap: clean up plugging calls.
md/bitmap: optimise scanning of empty bitmaps.
md/bitmap: prepare for storing write-intent-bitmap via dm-dirty-log.
md/bitmap: separate out loading a bitmap from initialising the structures.
md/raid10: fix deadlock with unaligned read during resync
md: fix another deadlock with removing sysfs attributes.
md: clean up do_md_stop

drivers/md/bitmap.c | 508 ++++++++++++++++++++++++++++-----------------------
drivers/md/bitmap.h | 6 +
drivers/md/md.c | 286 ++++++++++++++++++-----------
drivers/md/md.h | 55 ++++++-
drivers/md/raid10.c | 18 ++
drivers/md/raid5.c | 168 ++++++++++-------
drivers/md/raid5.h | 9 +-
7 files changed, 643 insertions(+), 407 deletions(-)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 08-10-2010, 12:14 AM
Neil Brown
 
Default md updates for 2.6.36

Hi Linus,
here is a revised pull request for md updates for 2.6.36.

To the previous patches (which are unchanged) it adds some work by
David Woodhouse which moves the RAID6 computations out of drivers/md/
and places them in /lib so they can be used by other code -
e.g. btrfs.
The RAID6 code is completely unchanged (it was already accessed under
the async-crypto interface so not changes are need to the API). Only
it's location and the fact that it can be a stand alone module
(rather than being in the same module as the rest of md/raid6) has
changed.

Thanks,
NeilBrown



The following changes since commit 45d7f32c7a43cbb9592886d38190e379e2eb2226:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile (2010-08-08 10:10:11 -0700)

are available in the git repository at:

git://neil.brown.name/md for-linus

Dan Williams (1):
md: move revalidate_disk() back outside open_mutex

David Woodhouse (3):
md: Factor out RAID6 algorithms into lib/
async_tx: Move ASYNC_RAID6_TEST option to crypto/async_tx/, fix dependencies
Merge branch 'async' of macbook:git/btrfs-unstable

NeilBrown (22):
md: reduce dependence on sysfs.
md/raid5: factor out code for changing size of stripe cache.
md/raid5: ensure we create a unique name for kmem_cache when mddev has no gendisk
md: be more careful setting MD_CHANGE_CLEAN
md: split out md_rdev_init
md: export various start/stop interfaces
md: add support for raising dm events.
raid5: Don't set read-ahead when there is no queue
md/raid5: export is_congested test
md/raid5: add simple plugging infrastructure.
md/plug: optionally use plugger to unplug an array during resync/recovery.
md/raid5: export raid5 unplugging interface.
md/bitmap: white space clean up and similar.
md/bitmap: reduce dependence on sysfs.
md/bitmap: clean up plugging calls.
md/bitmap: optimise scanning of empty bitmaps.
md/bitmap: prepare for storing write-intent-bitmap via dm-dirty-log.
md/bitmap: separate out loading a bitmap from initialising the structures.
md/raid10: fix deadlock with unaligned read during resync
md: fix another deadlock with removing sysfs attributes.
md: clean up do_md_stop
Merge git://git.infradead.org/users/dwmw2/libraid-2.6 into for-linus

crypto/async_tx/Kconfig | 14 +
drivers/md/Kconfig | 18 +-
drivers/md/Makefile | 77 ----
drivers/md/bitmap.c | 508 ++++++++++++++------------
drivers/md/bitmap.h | 6 +
drivers/md/md.c | 286 +++++++++------
drivers/md/md.h | 55 +++-
drivers/md/raid10.c | 18 +
drivers/md/raid5.c | 168 +++++----
drivers/md/raid5.h | 9 +-
lib/Kconfig | 3 +
lib/Makefile | 1 +
lib/raid6/Makefile | 78 ++++
{drivers/md => lib/raid6}/mktables.c | 0
{drivers/md => lib/raid6}/raid6algos.c | 0
{drivers/md => lib/raid6}/raid6altivec.uc | 0
{drivers/md => lib/raid6}/raid6int.uc | 0
{drivers/md => lib/raid6}/raid6mmx.c | 0
{drivers/md => lib/raid6}/raid6recov.c | 0
{drivers/md => lib/raid6}/raid6sse1.c | 0
{drivers/md => lib/raid6}/raid6sse2.c | 0
{drivers/md => lib/raid6}/raid6test/Makefile | 0
{drivers/md => lib/raid6}/raid6test/test.c | 0
{drivers/md => lib/raid6}/raid6x86.h | 0
{drivers/md => lib/raid6}/unroll.awk | 0
25 files changed, 740 insertions(+), 501 deletions(-)
create mode 100644 lib/raid6/Makefile
rename {drivers/md => lib/raid6}/mktables.c (100%)
rename {drivers/md => lib/raid6}/raid6algos.c (100%)
rename {drivers/md => lib/raid6}/raid6altivec.uc (100%)
rename {drivers/md => lib/raid6}/raid6int.uc (100%)
rename {drivers/md => lib/raid6}/raid6mmx.c (100%)
rename {drivers/md => lib/raid6}/raid6recov.c (100%)
rename {drivers/md => lib/raid6}/raid6sse1.c (100%)
rename {drivers/md => lib/raid6}/raid6sse2.c (100%)
rename {drivers/md => lib/raid6}/raid6test/Makefile (100%)
rename {drivers/md => lib/raid6}/raid6test/test.c (100%)
rename {drivers/md => lib/raid6}/raid6x86.h (100%)
rename {drivers/md => lib/raid6}/unroll.awk (100%)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 08-10-2010, 10:47 PM
Linus Torvalds
 
Default md updates for 2.6.36

On Mon, Aug 9, 2010 at 5:14 PM, Neil Brown <neilb@suse.de> wrote:
>
> *create mode 100644 lib/raid6/Makefile
> *rename {drivers/md => lib/raid6}/mktables.c (100%)
> *rename {drivers/md => lib/raid6}/raid6algos.c (100%)
> *rename {drivers/md => lib/raid6}/raid6altivec.uc (100%)
> *rename {drivers/md => lib/raid6}/raid6int.uc (100%)
> *rename {drivers/md => lib/raid6}/raid6mmx.c (100%)
> *rename {drivers/md => lib/raid6}/raid6recov.c (100%)
> *rename {drivers/md => lib/raid6}/raid6sse1.c (100%)
> *rename {drivers/md => lib/raid6}/raid6sse2.c (100%)
> *rename {drivers/md => lib/raid6}/raid6test/Makefile (100%)
> *rename {drivers/md => lib/raid6}/raid6test/test.c (100%)
> *rename {drivers/md => lib/raid6}/raid6x86.h (100%)
> *rename {drivers/md => lib/raid6}/unroll.awk (100%)

Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
don't mean "raid6+1" (mirrored raid6 , so why not just remove the
second "raid6", and call it "lib/raid6/sse2.c"

But I pulled. Just in case there was some logic to the duplication.

Linus

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 08-10-2010, 11:23 PM
David Woodhouse
 
Default md updates for 2.6.36

On Tue, 2010-08-10 at 15:47 -0700, Linus Torvalds wrote:
>
> Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
> don't mean "raid6+1" (mirrored raid6 , so why not just remove the
> second "raid6", and call it "lib/raid6/sse2.c"
>
> But I pulled. Just in case there was some logic to the duplication.

No particular reason -- I just wanted the initial move to be as simple
as possible. Since it all gets built into raid6_pq.ko and we never see
these filenames even in module names, it does make sense to rename them.

If Neil approves, git://git.infradead.org/~dwmw2/libraid-2.6.git

The userspace test/ (ne raid6test/) directory doesn't build, but it
didn't before. At least I fixed the awk incantations.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 08-11-2010, 08:49 PM
Neil Brown
 
Default md updates for 2.6.36

On Wed, 11 Aug 2010 00:23:31 +0100
David Woodhouse <dwmw2@infradead.org> wrote:

> On Tue, 2010-08-10 at 15:47 -0700, Linus Torvalds wrote:
> >
> > Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
> > don't mean "raid6+1" (mirrored raid6 , so why not just remove the
> > second "raid6", and call it "lib/raid6/sse2.c"
> >
> > But I pulled. Just in case there was some logic to the duplication.
>
> No particular reason -- I just wanted the initial move to be as simple
> as possible. Since it all gets built into raid6_pq.ko and we never see
> these filenames even in module names, it does make sense to rename them.
>
> If Neil approves, git://git.infradead.org/~dwmw2/libraid-2.6.git

Looks good,thanks. There are a few comments still say "raid6xxx.c" and there
is a .h file (raid6x86.h) which you didn't rename but probably should be.

I've added a patch to clean these up.

>
> The userspace test/ (ne raid6test/) directory doesn't build, but it
> didn't before. At least I fixed the awk incantations.
>
Yep, there is some bit rot in there. Fixed that too.

Linus, you can get all this from
git://neil.brown.name/md for-linus

Thanks.

The following changes since commit 3d30701b58970425e1d45994d6cb82f828924fdd:

Merge branch 'for-linus' of git://neil.brown.name/md (2010-08-10 15:38:19 -0700)

are available in the git repository at:

git://neil.brown.name/md for-linus

David Woodhouse (1):
Rename raid6 files now they're in a 'raid6' directory.

NeilBrown (2):
Make lib/raid6/test build correctly.
Further tidyup of raid6 naming in lib/raid6

include/linux/raid/pq.h | 2 +
lib/raid6/Makefile | 81 ++++++++++++++---------------
lib/raid6/{raid6algos.c => algos.c} | 4 +-
lib/raid6/{raid6altivec.uc => altivec.uc} | 0
lib/raid6/{raid6int.uc => int.uc} | 0
lib/raid6/{raid6mmx.c => mmx.c} | 6 +-
lib/raid6/raid6test/Makefile | 75 --------------------------
lib/raid6/{raid6recov.c => recov.c} | 2 +-
lib/raid6/{raid6sse1.c => sse1.c} | 6 +-
lib/raid6/{raid6sse2.c => sse2.c} | 4 +-
lib/raid6/test/Makefile | 72 +++++++++++++++++++++++++
lib/raid6/{raid6test => test}/test.c | 0
lib/raid6/{raid6x86.h => x86.h} | 2 +-
13 files changed, 125 insertions(+), 129 deletions(-)
rename lib/raid6/{raid6algos.c => algos.c} (99%)
rename lib/raid6/{raid6altivec.uc => altivec.uc} (100%)
rename lib/raid6/{raid6int.uc => int.uc} (100%)
rename lib/raid6/{raid6mmx.c => mmx.c} (98%)
delete mode 100644 lib/raid6/raid6test/Makefile
rename lib/raid6/{raid6recov.c => recov.c} (99%)
rename lib/raid6/{raid6sse1.c => sse1.c} (98%)
rename lib/raid6/{raid6sse2.c => sse2.c} (99%)
create mode 100644 lib/raid6/test/Makefile
rename lib/raid6/{raid6test => test}/test.c (100%)
rename lib/raid6/{raid6x86.h => x86.h} (99%)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 10:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org