Linux RAID subsystem development
 help / color / mirror / Atom feed
From: SandeepKsinha <sandeepksinha@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: [PATCH] md: Enhancements and clean to linear RAID
Date: Tue, 19 May 2009 11:53:53 +0530	[thread overview]
Message-ID: <37d33d830905182323x22eec1c8l2a7471668c1a02b3@mail.gmail.com> (raw)

Hi Neil,

I have made the desired changes and have tested the changes as well.
As expected the performance gain with number of devices ( > 20 ) is
quite visible.
The code also looks simpler as compared to what it earlier was.

I have created the following patches for the changes:

PATCH [01/03] md: Removal of num_sectors from dev_info in linear raid

This patch removes the num_sectors from dev_info and makes use of the
rdev->sectors for
all further usage.

PATCH[02/03] md: Getting rid of sector_div and hash table in linear raid

Removal of all the code pertaining hast table and other related data structures.
This also makes the code really really simple.
The searching being made linear for the time being to test the patch.

PATCH[03/03] md: Replacing linear with a binary search

This patch replaces the linear search in which_dev with binary search.

The patches will follow this mail.


-- 
Regards,
Sandeep.





 	
“To learn is to change. Education is a process that changes the learner.”
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-05-19  6:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19  6:23 SandeepKsinha [this message]
2009-05-19  7:25 ` [PATCH] md: Enhancements and clean to linear RAID NeilBrown
2009-05-19  7:31   ` SandeepKsinha
2009-05-19 10:46     ` SandeepKsinha
2009-05-19 11:38       ` Neil Brown
2009-05-19 11:56         ` SandeepKsinha
2009-05-19 12:32           ` Sujit Karataparambil
2009-05-21  3:15         ` SandeepKsinha
2009-05-21  3:47           ` NeilBrown

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=37d33d830905182323x22eec1c8l2a7471668c1a02b3@mail.gmail.com \
    --to=sandeepksinha@gmail.com \
    --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