Re: userspace block driver?

From: Miklos Szeredi
Date: Wed Nov 09 2005 - 07:56:32 EST


>
> That got me thinking... theoretically we should be able to do a FUSE
> server that served a single file that could be used by a loopback
> device, couldn't we?
>
> IIRC, Miklos Szeredi tried hard to avoid the deadlock scenarios that nbd
> suffers from in FUSE, but I don't know if it would stand being called by
> the loopback device.
>
> If it works, it should be extremely simple to do the server. Just check
> the FUSE hello world server example:
>
> http://fuse.sourceforge.net/helloworld.html
>
> I've CC'ed Miklos Szeredi to see if he can shed some light on the
> loopback <-> FUSE combination...

Loopback works fine on FUSE filesystems (unless 'direct_io' mount
option is used).

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/