All of lore.kernel.org
 help / color / mirror / Atom feed
* DM limits setup
@ 2014-12-31 22:10 Doug Dumitru
  2015-01-05 10:21 ` Joe Thornber
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Dumitru @ 2014-12-31 22:10 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 727 bytes --]

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.

Thanks in advance.

Doug Dumitru

[-- Attachment #1.2: Type: text/html, Size: 1197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-06 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-31 22:10 DM limits setup Doug Dumitru
2015-01-05 10:21 ` Joe Thornber
2015-01-05 23:32   ` Doug Dumitru
2015-01-06 11:46     ` Joe Thornber

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.