All of lore.kernel.org
 help / color / mirror / Atom feed
* A patchset to limit the number of outstanding bios
@ 2014-10-13 15:27 Mikulas Patocka
  2014-10-13 16:03 ` Joe Thornber
  2014-10-13 16:20 ` Mike Snitzer
  0 siblings, 2 replies; 7+ messages in thread
From: Mikulas Patocka @ 2014-10-13 15:27 UTC (permalink / raw)
  To: Alasdair G. Kergon, Mike Snitzer, Edward Thornber, Ondrej Kozina; +Cc: dm-devel

Hi

I'm announcing the release of a patchset that limits the number of 
outstanding bios in the device mapper.

The patchset is at 
http://people.redhat.com/~mpatocka/patches/kernel/dm-limit-outstanding-bios/

The default limit is 1024, the minimum limit is 4 (but I verified that the 
testsuite works even with limit 1). The limit can be set in 
/sys/block/dm-*/queue/nr_requests

The limit for newly created dm devices can be set in 
/sys/module/dm_mod/parameters/default_nr_requests (for example, you can 
set it before running the testsuite or some benchmark).

The patchset could possibly fix bug 1010466.

Note that the patch "punt-to-workqueue.patch" is required, otherwise we 
get lockups in the testsuite at low nr_requests values. The patch 
"fix-counting.patch" isn't required, but it is included to avoid patch 
conflicts.

Mikulas

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

end of thread, other threads:[~2014-10-21  9:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-13 15:27 A patchset to limit the number of outstanding bios Mikulas Patocka
2014-10-13 16:03 ` Joe Thornber
2014-10-13 16:20 ` Mike Snitzer
2014-10-13 20:52   ` Mikulas Patocka
2014-10-15 12:12   ` device-mapper lilofile
2014-10-21  1:36   ` dm-thin lilofile
2014-10-21  9:32     ` dm-thin Zdenek Kabelac

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.