From: Joe Thornber <thornber@redhat.com>
To: doug@easyco.com, device-mapper development <dm-devel@redhat.com>
Subject: Re: DM limits setup
Date: Mon, 5 Jan 2015 10:21:52 +0000 [thread overview]
Message-ID: <20150105102151.GC11818@debian> (raw)
In-Reply-To: <CAFx4rwQudUhVH4rgJYb+uHPe17PKJHYQRsxbUpwr5h_1r2B8+w@mail.gmail.com>
On Wed, Dec 31, 2014 at 02:10:52PM -0800, Doug Dumitru wrote:
> Hello all,
>
> I have a test dm target module that I use to validate storage subsystems
> for data accuracy. It basically builds weak hashes for every sector of a
> device when written, and validates these hashes when the sector is read
> back. Ugly memory usage, but it is just a test tool.
>
> I can deploy this with an iterator target and it will take on the limits of
> the device underneath, or I can skip the iterator target and get limits at
> 2048 sectors. What I would like to do is set the limit manually. I know
> this is "really bad program design", but again, this is a test tool and not
> anything for production use.
>
> Can anyone point me at an example of where the limits are setup explicitly.
Hi Doug,
This sounds like a useful target for testing, any chance you could
post it here when you finish it please?
dm-thin does lots of tweaking of limits, so that's probably the best one to look at:
https://github.com/jthornber/linux-2.6/blob/thin-dev/drivers/md/dm-thin.c#L3707
- Joe
next prev parent reply other threads:[~2015-01-05 10:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-31 22:10 DM limits setup Doug Dumitru
2015-01-05 10:21 ` Joe Thornber [this message]
2015-01-05 23:32 ` Doug Dumitru
2015-01-06 11:46 ` Joe Thornber
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=20150105102151.GC11818@debian \
--to=thornber@redhat.com \
--cc=dm-devel@redhat.com \
--cc=doug@easyco.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.