linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Campbell <brad@wasp.net.au>
To: RAID Linux <linux-raid@vger.kernel.org>
Subject: [PATCH] Add stripe cache entries to raid6 sysfs
Date: Sat, 25 Mar 2006 16:47:24 +0400	[thread overview]
Message-ID: <44253BDC.3020609@wasp.net.au> (raw)
In-Reply-To: <44252ACE.9020706@wasp.net.au>

Raid-6 did not create sysfs entries for stripe cache

Signed-off-by: Brad Campbell <brad@wasp.net.au>

---
diff -u vanilla/linux-2.6.16/drivers/md/raid6main.c linux-2.6.16/drivers/md/raid6main.c
--- vanilla/linux-2.6.16/drivers/md/raid6main.c 2006-03-20 09:53:29.000000000 +0400
+++ linux-2.6.16/drivers/md/raid6main.c 2006-03-25 16:35:05.000000000 +0400
@@ -2148,6 +2148,7 @@
         }

         /* Ok, everything is just fine now */
+        sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
         mddev->array_size =  mddev->size * (mddev->raid_disks - 2);

         mddev->queue->unplug_fn = raid6_unplug_device;
---

-- 
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams

  reply	other threads:[~2006-03-25 12:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-25 11:26 Silly stripe cache values Brad Campbell
2006-03-25 11:34 ` Brad Campbell
2006-03-25 12:47   ` Brad Campbell [this message]
2006-03-30  5:10     ` [PATCH] Add stripe cache entries to raid6 sysfs 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=44253BDC.3020609@wasp.net.au \
    --to=brad@wasp.net.au \
    --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).