[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mutable store on mirage?



On 16 Oct 2013, at 21:08, David Scott wrote:

> I'd like to see unix blkif implemented (without using the xen 
> implementation). I've got some patches lying around which open files with 
> O_DIRECT and perform unbuffered sector-aligned I/O. I was thinking of making 
> a 'unix-block-driver' with this code in it, mirroring the xen implementation. 
> It's mostly a thin veneer over Lwt_bytes, replacing Bigarray.t with 
> Cstruct.t. In future I was thinking the mirage-platform repo could become the 
> minimal 'boot' code plus module types for Blkif, Netif etc; and all the 
> concrete implementations could be spun out into other repos.
> 
> What do people think?

absolutely agree. thought perhaps we would want to functorise(*) over Lwt, eg 
packages named

mirage-blk-xen-lwt
mirage-blk-posix-async
mirage-blk-bsd-blah

etc...?  opam can handle the constraints though (i firmly expect :)

(*) if i'm making up a verb there and/or using it incorrectly, i apologise... :)


-- 
Cheers,

R.




This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you 
are advised to perform your own checks. Email communications with the 
University of Nottingham may be monitored as permitted by UK legislation.







 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.