All of lore.kernel.org
 help / color / mirror / Atom feed
* A target to just process bios background?
@ 2014-03-04  1:30 Akira Hayakawa
  2014-03-06 22:57 ` Mikulas Patocka
  0 siblings, 1 reply; 4+ messages in thread
From: Akira Hayakawa @ 2014-03-04  1:30 UTC (permalink / raw)
  To: dm-devel

Hi,

Is it meaningless to submit the split and cloned bios in background
using workqueue?

device-mapper doesn't go to next split before the .map hook returns
(and generic_make_request() returns only in case of DM_MAPIO_REMAPPED).
So, quitting from .map hook and going into next split fast sounds to me
effective at least in terms of CPU usage (in multicore system).

is this discussed before?

A target as tiny as linear or flakey can be thought:
- it has work_struct in per_bio_data
- .map hook queue_work the work into private wq.
- and then return DM_MAPIO_SUBMITTED

is this implemented before?

I think this target will make people happy if they
want to see what if the bio submission is done background
without changing their code but only stacking a dm target.

I am sorry if I am confused.

-- 
Akira

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

end of thread, other threads:[~2014-03-16 23:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04  1:30 A target to just process bios background? Akira Hayakawa
2014-03-06 22:57 ` Mikulas Patocka
2014-03-10  8:18   ` Akira Hayakawa
2014-03-16 23:46     ` Akira Hayakawa

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.