[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1248699365.6987.1628.camel@twins>
Date: Mon, 27 Jul 2009 14:56:05 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Zachary Amsden <zamsden@...hat.com>
Cc: linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
axboe@...nel.dk, hch@...radead.org, akpm@...ux-foundation.org,
Paul.Clements@...eleye.com, tytso@....edu,
Tejun Heo <tj@...nel.org>, miklos <miklos@...redi.hu>
Subject: Re: [PATCH] Allow userspace block device implementation
On Sun, 2009-07-26 at 23:57 -1000, Zachary Amsden wrote:
> Well, it may be a good, bad, idiotic or brilliant idea depending on your
> personal philosophy. I went down this route out of pragmatism.
> Hopefully I have not fully re-invented the wheel.
>
> The patch included allows one to implement a kernel level block device
> in userspace, using an ioctl() based interface to create a sized device
> with given properties, and then receive and respond to bio requests
> issued to the device. One can poll on the associated control socket to
> allow efficient servicing of device requests. So far only strict copy
> to/from user memory is supported, there is no fancy page flipping or
> mapping operations.
Somehow this made me think of FUSE/CUSE... should this be named aBUSE?
Oh wait it is :-), what I'm after is I guess is, can we share some of
the FUSE/CUSE code?
I can only imagine the fun we'll end up with when someone tries swapon
on a user-space block device.. aptly named.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists