linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] block: extend generic biosets to allow per-device frontpad
@ 2018-01-29 21:33 Mike Snitzer
  2018-02-02  6:19 ` [dm-devel] " NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Snitzer @ 2018-01-29 21:33 UTC (permalink / raw)
  To: linux-block, dm-devel

I'd like to enable bio-based DM to _not_ need to clone bios.  But to do
so each bio-based DM target's required per-bio-data would need to be
provided by upper layer biosets (as opposed to the bioset DM currently
creates).

So my thinking is that all system-level biosets (e.g. fs_bio_set,
blkdev_dio_pool) would redirect to a device specific variant bioset IFF
the underlying device advertises the need for a specific per-bio-data
payload to be provided.

I know this _could_ become a rathole but I'd like to avoid reverting DM
back to the days of having to worry about managing mempools for the
purpose of per-io allocations.  I've grown spoiled by the performance
and elegance that comes with having the bio and per-bio-data allocated
from the same bioset.

Thoughts?
Mike

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

end of thread, other threads:[~2018-02-02 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 21:33 [LSF/MM TOPIC] block: extend generic biosets to allow per-device frontpad Mike Snitzer
2018-02-02  6:19 ` [dm-devel] " NeilBrown
2018-02-02 16:08   ` Mike Snitzer
2018-02-02 22:55     ` Mike Snitzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).