Skip to contentSkip to conversation

block devices in userland

DISCUSSION [email protected] 3 participants 3 messages Jul 4, 2008 – Jul 12, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

is there an API for writing block device drivers in userland ?

i don`t know if there is some in vanilla, but maybe dm-userspace is worth taking a look at ? see http://wiki.xensource.com/xenwiki/DmUserspace

regards
roland

List:       linux-kernel
Subject:    block devices in userland
From:       Enrico Weigelt <weigelt () metux ! de>
Date:       2008-07-04 22:11:28
Message-ID: 20080704221127.GA25636 () nibiru ! local

[Download message RAW]

Hi folks,

is there an API for writing block device drivers in userland ?

thx

Signature · 12 lines
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------

______________________________________________________________
Jeden Monat 1 hochkarätiger maxdome-Blockbuster GRATIS!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de
#1 lore raw
Quoted 4 lines · * [email protected] <[email protected]> wrote:
Quoted 1 line

is there an API for writing block device drivers in userland ?

i don`t know if there is some in vanilla, but maybe dm-userspace is worth taking a look at ? see http://wiki.xensource.com/xenwiki/DmUserspace

hmm, doesn't seem to be what I'm looking for - it just leaves the mapping of virtual to physical blocks to userland.

What I need is passing the whole read/write requests to some userland deamon - these blocks won't come from any (in-kernel) block device, but an totally different kind of storage (eg. venti).

cu

Signature · 8 lines
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------
#2 lore raw
Quoted 6 lines · Enrico Weigelt
Quoted 4 lines · * [email protected] <[email protected]> wrote:
Quoted 1 line

is there an API for writing block device drivers in userland ?

i don`t know if there is some in vanilla, but maybe dm-userspace is worth taking a look at ? see http://wiki.xensource.com/xenwiki/DmUserspace

Quoted 6 lines

hmm, doesn't seem to be what I'm looking for - it just leaves the mapping of virtual to physical blocks to userland.

What I need is passing the whole read/write requests to some userland deamon - these blocks won't come from any (in-kernel) block device, but an totally different kind of storage (eg. venti).

nbd, but be careful about deadlocks.

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html