login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
21
Re: [PATCH] md: Add support for data integrity to MD
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Dan Williams
Subject:
Re: [PATCH] md: Add support for data integrity to MD
Date: Saturday, September 20, 2008 - 5:26 pm
On Sat, Sep 20, 2008 at 5:18 PM, Martin K. Petersen <martin.petersen@oracle.com> wrote:
quoted text
> > If all subdevices support the same protection format the MD device is > flagged as capable. > > Depends on d7533ad0e132f92e75c1b2eb7c26387b25a583c1 being reverted. > > Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> > --- > drivers/md/md.c | 32 +++++++++++++++++++++++++++++++- > 1 files changed, 31 insertions(+), 1 deletions(-) > > diff --git a/drivers/md/md.c b/drivers/md/md.c > index 45521da..b038581 100644 > --- a/drivers/md/md.c > +++ b/drivers/md/md.c > @@ -3497,7 +3497,7 @@ static int do_md_run(mddev_t * mddev) > int err; > int chunk_size; > struct list_head *tmp; > - mdk_rdev_t *rdev; > + mdk_rdev_t *rdev, *prev; > struct gendisk *disk; > struct mdk_personality *pers; > char b[BDEVNAME_SIZE]; > @@ -3759,6 +3759,35 @@ static int do_md_run(mddev_t * mddev) > sysfs_notify(&mddev->kobj, NULL, "sync_action"); > sysfs_notify(&mddev->kobj, NULL, "degraded"); > kobject_uevent(&disk_to_dev(mddev->gendisk)->kobj, KOBJ_CHANGE); > + > + /* Data integrity passthrough not supported on RAID 4, 5 and 6 */ > + if (pers->level >= 4 && pers->level <= 6) > + return 0;
Do you have a reference to the issues in supporting this? Thanks, Dan --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] md: Add support for data integrity to MD
, Martin K. Petersen
, (Sat Sep 20, 5:18 pm)
Re: [PATCH] md: Add support for data integrity to MD
, Dan Williams
, (Sat Sep 20, 5:26 pm)
Re: [PATCH] md: Add support for data integrity to MD
, Martin K. Petersen
, (Sat Sep 20, 7:01 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Stefano Stabellini
Re: [PATCH 09/22] xen: Find an unbound irq number in reverse order (high to low).
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Junio C Hamano
GIT 1.4.3-rc2
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
cirrusfb: GD5434 (aka SD64) support fixed
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Sathya Perla
[PATCH net-next-2.6] be2net: add multiple RX queue support
Changli Gao
Re: [PATCH 3/3] ifb: move tq from ifb_private
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
rmgls
man usb2_core(4)
Sam Leffler
Re: Lots of "ath0: bad series0 hwrate 0x1b" in 8.0-BETA2
Colocation donated by:
Syndicate